JP2006191446A - Correction processing system for dust and flaw of image - Google Patents

Correction processing system for dust and flaw of image Download PDF

Info

Publication number
JP2006191446A
JP2006191446A JP2005002510A JP2005002510A JP2006191446A JP 2006191446 A JP2006191446 A JP 2006191446A JP 2005002510 A JP2005002510 A JP 2005002510A JP 2005002510 A JP2005002510 A JP 2005002510A JP 2006191446 A JP2006191446 A JP 2006191446A
Authority
JP
Japan
Prior art keywords
dust
correction
image
image data
scratch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005002510A
Other languages
Japanese (ja)
Inventor
Tadashi Inoue
匡 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005002510A priority Critical patent/JP2006191446A/en
Publication of JP2006191446A publication Critical patent/JP2006191446A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To maintain consecutive processing by processing an unprocessed part of an image with a PC, another apparatus, when the next image is input while dust and flaw correction processing for the image is performed in an image processing apparatus for consecutive correction processing of dust and flaws of a plurality of images. <P>SOLUTION: This image processing system has a detection means for detecting visible image data and infrared image data from an original irradiated with visible light and infrared light, a correction means for correcting dust and flaws on a visible image by using the visible image and an infrared image, a determination means for determining whether to continue the dust and flaw correction or not, and a transfer means for transferring image information to another equipment. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像処理装置、方法及び記録媒体に係わり、画像中の欠損部を補正する画像処理装置、方法及びコンピュータを画像処理装置として機能させるためのプログラムが格納された装置に関する。   The present invention relates to an image processing apparatus, method, and recording medium, and more particularly to an image processing apparatus, method, and apparatus that stores a program for causing a computer to function as an image processing apparatus.

フィルムスキャナのようにスキャンした画像を連続してスキャンする装置において、ゴミキズ補正処理をハードウェア処理する場合、ゴミキズの量が多いと、処理に時間を要するため、次の画像のスキャンが始まるまでにハードウェアによるゴミキズ補正が終わらない可能性がある。従来、そのような状況が発生した場合においては、ゴミキズ補正処理が終了するまでの間、フィルムの給送を処理が終わるまで止める手法が用いられている。   In a device that continuously scans scanned images, such as a film scanner, if hardware scratch processing is performed for dust scratch correction processing, if the amount of dust scratches is large, the processing takes time, so the next image scan starts. There is a possibility that correction of garbage scratches by hardware may not end. Conventionally, when such a situation occurs, a method is used in which the feeding of the film is stopped until the processing ends until the dust flaw correction processing ends.

又、別の従来例としては、例えば特許文献1と特許文献2をあげることが出来る。
特開2002−281247号公報 特開2001−16886号公報
As another conventional example, for example, Patent Document 1 and Patent Document 2 can be cited.
JP 2002-281247 A Japanese Patent Laid-Open No. 2001-16886

本発明は、ハードウェアによるゴミキズ補正処理とソフトウェアによるゴミキズ補正処理を併用することで、フィルムの給送を止めることなく原稿のゴミキズ補正を実施する。   According to the present invention, dust scratch correction of a document is performed without stopping film feeding by using both dust scratch correction processing by hardware and dust scratch correction processing by software.

本願の請求項1に記載した画像処理システムは、可視光及び不可視光を照射する発光部と、前記発光部により照射された原稿からの光を検出して可視画像データを出力する可視画像検出手段と、前記発光部から不可視光を検出する不可視光検出手段と、前記不可視光検出手段により得られたゴミキズ画像データと前記画像検出手段により得られた可視画像データを用いゴミキズ補正処理を行うゴミキズ補正手段と、ゴミキズ補正手段で処理中の画像データを一時的に記憶しておくための記憶手段と、可視画像データ又はゴミキズ画像データを別装置へ転送するための転送手段と、ゴミキズ補正を続けるかどうかを判断する判断手段と、ゴミキズ補正用パラメータを転送するパラメータ転送手段と、を有する画像処理装置と、ゴミキズ補正用パラメータと未補正可視画像データを用いゴミキズ補正を実施できる手段を有する別装置と、を有することを特徴とする画像データのゴミキズ補正機能を備えることを特徴とする。   An image processing system according to claim 1 of the present application includes a light emitting unit that emits visible light and invisible light, and a visible image detecting unit that detects light from a document irradiated by the light emitting unit and outputs visible image data. And invisible light detecting means for detecting invisible light from the light emitting unit, dust scratch correction processing for performing dust scratch correction processing using dust scratch image data obtained by the invisible light detecting means and visible image data obtained by the image detecting means. A storage means for temporarily storing image data being processed by the dust scratch correction means, a transfer means for transferring visible image data or dust scratch image data to another apparatus, and whether dust scratch correction is continued. An image processing apparatus including: a determination unit that determines whether or not; a parameter transfer unit that transfers a dust flaw correction parameter; and a dust flaw correction parameter Characterized in that it comprises a dust and flaw correction function of the image data, characterized by having a separate device having means capable of performing dust and flaw correction using the meter and uncorrected visual image data.

本願の請求項2に記載した画像処理システムは、前記判断手段において、処理を開始してから一定時間経過後にゴミキズ補正処理が終了していない場合に現在の画像のゴミキズ補正を中止し、前記転送手段を用い現在の可視画像のゴミキズ補正用パラメータ、ゴミキズ画像データ及び、補正前の可視画像データを別装置へ転送、前記ゴミキズ補正手段にて次の可視画像のゴミキズ補正をおこない、別装置にて現在の可視画像データのゴミキズ補正する手段を有することを特徴とする。   In the image processing system according to claim 2 of the present application, the determination unit stops the dust scratch correction of the current image when the dust scratch correction processing is not finished after a lapse of a predetermined time from the start of the processing, and the transfer Transfer the current visible image dust flaw correction parameters, dust flaw image data, and the uncorrected visible image data to another device, perform dust flaw correction on the next visible image with the dust flaw correction means, and use another device. The present invention is characterized by having means for correcting dust and scratches in the current visible image data.

本願請求項3に記載した画像処理システムは、前記判断手段において、現在の画像のゴミキズを補正中に次の画像がゴミキズ補正手段に入力された場合に、現在の可視画像のゴミキズ補正を中止し、前記転送手段を用い現在の可視画像のゴミキズ補正用パラメータ、ゴミキズ画像データ及び、補正前の可視画像データを別装置へ転送、前記ゴミキズ補正手段にて次の可視画像のゴミキズ補正をおこない、別装置にて現在の可視画像データのゴミキズ補正処理を実施する手段を備えることを特徴とする。   In the image processing system according to claim 3 of the present invention, when the next image is input to the dust scratch correction unit while correcting the dust scratch of the current image in the determination unit, the dust scratch correction of the current visible image is stopped. The transfer unit is used to transfer the present visible image dust scratch correction parameter, dust scratch image data, and visible image data before correction to another device, and the dust scratch correction unit performs dust scratch correction on the next visible image. The apparatus comprises means for carrying out dust flaw correction processing of current visible image data in the apparatus.

本願請求項4に記載した画像処理システムは、前記判断手段において、前記記憶手段に一定量以上の画像が記憶された場合に、現在のゴミキズ補正を中止し、前記転送手段を用い現在の可視画像のゴミキズ補正用パラメータ、ゴミキズ画像データ及び、補正前の可視画像データを別装置へ転送、前記ゴミキズ補正手段にて次の画像のゴミキズ補正処理をおこない、別装置にて現在の可視画像データのゴミキズ補正を実施する手段を有することを特徴とする。   In the image processing system according to claim 4 of the present application, when the determination unit stores an image of a certain amount or more in the storage unit, the current dust image correction is stopped and the current visible image is used by using the transfer unit. The dust scratch correction parameter, the dust scratch image data, and the visible image data before correction are transferred to another device, the dust scratch correction unit performs dust scratch correction processing on the next image, and the dust scratch of the current visible image data is performed on another device. It has the means to implement correction | amendment, It is characterized by the above-mentioned.

本願請求項5に記載した画像処理システムは、請求項1乃至請求項4において、前記判断手段にて現在の画像データのゴミキズを中止すると判断した場合、補正処理が完了した可視画像部分は、前記転送手段を用い、画像データを別装置へ転送、未補正部分の画像は、ゴミキズ補正用パラメータ、ゴミキズ画像データと共に別装置へ転送し、別装置にて残りの未補正部分のゴミキズ補正を実施する手段を有することを特徴とする。   In the image processing system according to claim 5 of the present invention, when it is determined in claims 1 to 4 that the determination unit cancels dust scratches in the current image data, the visible image portion whose correction processing has been completed is Using transfer means, transfer image data to another device, transfer the image of the uncorrected portion to the other device together with the dust scratch correction parameter and dust scratch image data, and perform dust scratch correction of the remaining uncorrected portion on the other device. It has the means.

本願請求項6に記載した画像処理システムは、請求項1乃至請求項4において、前記判断手段にて現在の画像データのゴミキズ補正処理を中止すると判断した場合、補正前の可視画像データ及びゴミキズ画像データを、別装置へ転送する手段を有することを特徴とする。   The image processing system according to claim 6 of the present invention is the image processing system according to claims 1 to 4, wherein when the determination unit determines to cancel the dust flaw correction processing of the current image data, the visible image data and the dust flaw image before correction are determined. It has a means for transferring data to another apparatus.

本発明により、次の画像がくるまでにゴミキズ補正装置にてゴミキズ補正処理が終了しなかった場合、未補正部分のパラメータを別装置に渡し残りの処理を別装置にて実施することで、フィルムスキャナ等においてフィルムの給送を止めることなく画像のゴミキズ補正処理を連続して処理できる。   According to the present invention, when the dust / scratch correction process is not completed by the dust / scratch correction apparatus until the next image comes, the parameters of the uncorrected part are transferred to another apparatus and the remaining processes are performed by the other apparatus. In the scanner or the like, the dust flaw correction process can be continuously performed without stopping the film feeding.

本題の請求項1乃至6に記載した発明によれば、フィルムスキャナ等の画像処理装置と、それに繋がる別装置とを用いることで、複数画像の連続ゴミキズ補正を実施する場合において、フィルムの給送をとめることなく複数画像の連続ゴミキズ補正処理を達成できる。   According to the invention described in claims 1 to 6 of the present subject matter, when an image processing apparatus such as a film scanner and another apparatus connected thereto are used, continuous film flaw correction of a plurality of images is performed. It is possible to achieve continuous dust / scratch correction processing of a plurality of images without stopping.

本発明の画像処理装置の実施の形態について説明する。本実施形態の画像処理装置はフィルムを原稿として使用するフィルムスキャナに適用される。   An embodiment of an image processing apparatus of the present invention will be described. The image processing apparatus of this embodiment is applied to a film scanner that uses a film as a document.

[実施の形態1]
図1はフィルムスキャナの構成を示す図である。図において、1はフィルムを照射するランプであり、CPU2によって制御されるランプ駆動回路3により駆動される。4はフィルムを保持するフィルムホルダーであり、副走査モータ5によって矢印A方向に移動できる。副走査モータ5は、CPU2によって制御されるモータ駆動回路6にて駆動される。また、副走査位置検出センサ7によりフィルムホルダー4の初期位置が取得される。8は赤外光遮断フィルタaと可視光遮断フィルタbを切替えるフィルタ切換装置であり、フィルタ切換用モータ9により矢印B方向に移動できる。フィルタ切換用モータ9は、CPU2によって制御されるフィルタ駆動回路10により駆動される。また、フィルタ切換状態は、フィルタ切換検知センサ11によってCPU2へ伝えられる。本実施形態では、副走査用モータ5及びフィルタ切換用モータ9としてステッピングモータを、副走査用センサ7及びフィルタ切換検知センサ11としてフォトインタラプタを用いている。12は、ランプ1により照射されてフィルムを透過した光をCCDラインセンサ(以下、単にCCDという)13上に結像させる結像レンズである。CCD13はCPU2によって制御されるCCD駆動回路14により制御され、CCDの蓄積電荷を出力するタイミングを制御可能な電子シャッター機能を有する。また、CCD13はフィルムホルダ4の移動方向Aに対して垂直方向(図面垂直方向)に位置するように取り付けられており、この位置関係によりCCD13の長手方向(図面垂直方向)である主走査方向と、フィルムホルダ4の移動方向である副走査方向とは直交関係にある。15は、CCD13から出力されたアナログ画像信号のゲイン設定やクランプ処理をおこなうアナログ処理回路であり、アナログアンプによりRGBそれぞれの信号を独立の増幅することが可能である。16は、アナログ処理回路15から出力されるアナログ信号をデジタル信号に変換するA/D変換器である。17はA/D変換器16によりデジタル化された画像信号を処理するデジタル画像処理部であり、ヒストグラム作成部、入力信号のネガポジ変換、ホワイトバランス調整をおこなって適正な階調に調整するための階調変換曲線を作成する階調変換曲線作成部などを有する。画像処理部17は、ゲートアレイにより作成してもよいし、CPUやROMを有するDSPなどのマイクロコンピュータユニットにより構成してもよい。18は、画像処理部17より出力された画像データのゴミキズを補正するゴミキズ補正部であり、2値化処理部、補完データ作成部、データ補完部、などを有する。ゴミキズ補正部18は、ゲートアレイにより作成してもよいし、CPUやROMを有するDSPなどのマイクロコンピュータユニットにより構成してもよい。19は、画像データ、ゴミキズ補正パラメータなどを一時的に記憶するメモリである。20は、パーソナルコンピュータ(パソコン)などの外部機器との接続をおこなうインターフェイス部である。2は、フィルムスキャナ全体の動作を制御するためのプログラム(ソフトウェア)を記憶するROM、及び、このプログラムに基づき、外部機器からの命令に従って各種動作をおこなうCPUが内蔵されたシステムコントローラ(単に、CPUともいう)である。システムコントローラ2内のソフトウェア(以下、ファームソフトという)と、パソコンなどの外部機器からフィルムスキャナを操作するためのソフトウェア(以下、ドライバソフトという)とを用いた通信処理によって、画像データは外部機器に出力される。
[Embodiment 1]
FIG. 1 is a diagram showing the configuration of a film scanner. In the figure, reference numeral 1 denotes a lamp for irradiating a film, which is driven by a lamp driving circuit 3 controlled by the CPU 2. A film holder 4 holds the film and can be moved in the direction of arrow A by the sub-scanning motor 5. The sub-scanning motor 5 is driven by a motor driving circuit 6 that is controlled by the CPU 2. Further, the initial position of the film holder 4 is acquired by the sub-scanning position detection sensor 7. Reference numeral 8 denotes a filter switching device that switches between the infrared light blocking filter a and the visible light blocking filter b, and can be moved in the direction of arrow B by the filter switching motor 9. The filter switching motor 9 is driven by a filter drive circuit 10 controlled by the CPU 2. Further, the filter switching state is transmitted to the CPU 2 by the filter switching detection sensor 11. In this embodiment, a stepping motor is used as the sub-scanning motor 5 and the filter switching motor 9, and a photo interrupter is used as the sub-scanning sensor 7 and the filter switching detection sensor 11. Reference numeral 12 denotes an imaging lens that forms an image on a CCD line sensor (hereinafter simply referred to as CCD) 13 on the light irradiated by the lamp 1 and transmitted through the film. The CCD 13 is controlled by a CCD drive circuit 14 controlled by the CPU 2 and has an electronic shutter function capable of controlling the timing of outputting the accumulated charge of the CCD. Further, the CCD 13 is mounted so as to be positioned in a direction perpendicular to the moving direction A of the film holder 4 (vertical direction in the drawing). Due to this positional relationship, the CCD 13 has a main scanning direction which is the longitudinal direction (vertical direction in the drawing). The sub-scanning direction, which is the moving direction of the film holder 4, is orthogonal. Reference numeral 15 denotes an analog processing circuit for performing gain setting and clamping processing of the analog image signal output from the CCD 13, and each of the RGB signals can be independently amplified by an analog amplifier. Reference numeral 16 denotes an A / D converter that converts an analog signal output from the analog processing circuit 15 into a digital signal. Reference numeral 17 denotes a digital image processing unit that processes the image signal digitized by the A / D converter 16, and performs a histogram creation unit, negative / positive conversion of the input signal, and white balance adjustment to adjust to an appropriate gradation. A gradation conversion curve creation unit for creating a gradation conversion curve is included. The image processing unit 17 may be created by a gate array, or may be constituted by a microcomputer unit such as a DSP having a CPU and a ROM. A dust scratch correction unit 18 corrects dust scratches in the image data output from the image processing unit 17 and includes a binarization processing unit, a complementary data creation unit, a data complementing unit, and the like. The dust scratch correction unit 18 may be created by a gate array, or may be configured by a microcomputer unit such as a DSP having a CPU and a ROM. A memory 19 temporarily stores image data, dust flaw correction parameters, and the like. Reference numeral 20 denotes an interface unit for connecting to an external device such as a personal computer (personal computer). 2 is a system controller (simply referred to as a CPU) that includes a ROM that stores a program (software) for controlling the operation of the entire film scanner, and a CPU that performs various operations in accordance with instructions from an external device based on this program. It is also called). Image data is transferred to the external device by communication processing using software in the system controller 2 (hereinafter referred to as firmware) and software for operating the film scanner from an external device such as a personal computer (hereinafter referred to as driver software). Is output.

図2は赤外光によるフィルム上のゴミキズを検知する方法を示した図である。同図(A)はフィルムに可視光を照射した場合にCCD13より出力される1ライン分の信号波形である。同図(B)は、フィルムに赤外光を照射した場合にCCD13から出力される1ライン分の信号波形である。フィルタ切換部8により赤外カットフィルタaを光路上に配置した場合、同図(A)に示すように、可視光がフィルム上に照射されゴミキズによるCCD13の出力信号波形の変化と、が画像によるCCD13の出力信号波形の変化との判別が困難である。一方、フィルタ切換部8により光路上に可視光遮断フィルタbを配置した場合、同図(B)が示すように、赤外光がフィルム上に照射され、画像によるCCD13の出力波形の変化はほとんどみられず、ゴミキズによりCCD13の出力信号波形の変化が現れる。そのため、閾値を設定することによりフィルム上のゴミキズの位置を検知することが可能となる。この検知方法は、フィルムの波長に対する透過率の特性を利用したものである。一般的なフィルムは赤外光に対して高い透過性を有するので、赤外光を照射することにより、フィルム上に記録された画像情報に関係なくフィルム上のゴミキズによる信号変化情報だけを得ることができる。   FIG. 2 is a diagram showing a method for detecting dust scratches on a film by infrared light. FIG. 2A shows a signal waveform for one line output from the CCD 13 when the film is irradiated with visible light. FIG. 5B shows a signal waveform for one line output from the CCD 13 when the film is irradiated with infrared light. When the infrared cut filter a is arranged on the optical path by the filter switching unit 8, the change in the output signal waveform of the CCD 13 due to dust scratches caused by visible light is irradiated on the film as shown in FIG. It is difficult to distinguish the change in the output signal waveform of the CCD 13. On the other hand, when the visible light blocking filter b is arranged on the optical path by the filter switching unit 8, infrared light is irradiated on the film as shown in FIG. A change in the output signal waveform of the CCD 13 appears due to dust scratches. Therefore, it is possible to detect the position of dust scratches on the film by setting a threshold value. This detection method uses the characteristic of transmittance with respect to the wavelength of the film. Since general film has high transparency to infrared light, only signal change information due to dust scratches on the film can be obtained by irradiating infrared light regardless of image information recorded on the film. Can do.

次に、可視画像内において、ゴミキズが原因で欠損画素となった画素を補正処理する方法について説明する。図3はゴミキズ補正部18においておこなわれるゴミキズの補正処理手順を示すフローチャートである。この処理は、ゴミキズ補正部と、画像及び各種パラメータを一時記憶しておくメモリ18と、ゴミキズ補正部を制御するCPU2によって実行される。   Next, a method for correcting a pixel that has become a defective pixel due to dust scratches in the visible image will be described. FIG. 3 is a flowchart showing a dust flaw correction processing procedure performed in the dust flaw correction unit 18. This process is executed by the dust / scratch correction unit, the memory 18 that temporarily stores images and various parameters, and the CPU 2 that controls the dust / scratch correction unit.

フィルタ切換部8により赤外光遮断フィルタa及び可視光遮断フィルタbを交互の光軸上に配置する。フィルムを走査することによりフィルムを透過した光がCCD13によってそれぞれ読み取られ、A/D変換器16によりデジタル信号に変換されることにより、可視画像データ及び赤外画像データが生成され、画像処理部17に入力される。画像処理部17においてヒストグラム作成、ホワイトバランス調整等の処理を実施、最適化されが可視画像データ及び赤外画像データがゴミキズ補正部18へ入力される(ステップS1、S2)。このとき可視画像データ及び赤外画像データはNライン単位で交互に入力され、ゴミキズ補正部18ではNライン単位でゴミキズ補正処理が実施される(ステップS3)。   The filter switching unit 8 arranges the infrared light blocking filter a and the visible light blocking filter b on alternate optical axes. The light transmitted through the film by scanning the film is read by the CCD 13 and converted into a digital signal by the A / D converter 16, thereby generating visible image data and infrared image data, and an image processing unit 17. Is input. The image processing unit 17 performs processing such as histogram creation and white balance adjustment, and the optimized image data and visible image data are input to the dust flaw correction unit 18 (steps S1 and S2). At this time, the visible image data and the infrared image data are alternately input in units of N lines, and the dust scratch correction unit 18 performs dust scratch correction processing in units of N lines (step S3).

ゴミキズ補正部18において、赤外画像からゴミキズのよる欠損画素を検出するための閾値を算出し(ステップ4)、補正処理1から補正処理Nまでを実施(ステップS5)、Nライン分の補正画像を出力する(ステップS6)。その後、ステップS7にて、1画面分の補正処理が終了したかを判断し、1画面分の処理が終了した場合は、次画面の補正処理を実行する(ステップS8)し、1画面分の処理が終了していない場合は、次のステップS9に移る。ステップ9では、Nラインの補正処理毎に、1画面分の画像の入力時間Nと、これまでにかかった処理時間Mとの比較をおこなう。1画面分の画像の入力時間Mに対して、これまでにかかったゴミキズ補正時間が小さい場合(M<N)は、ステップ3に戻り、次のNライン分の画像のゴミキズ補正を実施する。1画面分の画像の入力時間Mに対して、これまでにかかったゴミキズ補正時間が大きくなった場合(M>N)は、現在の画像のゴミキズ補正を中止し、現状の補正中の可視画像データ、ゴミキズ画像データ、及びゴミキズ補正用パラメータをパソコン21へ転送、次の画面のゴミキズ補正に移る。パソコン21では、パソコン21内にプログラムされたゴミキズ補正機能を用い、転送されてきた可視画像データ、ゴミキズ画像データ及び、ゴミキズ補正用パラメータを利用しゴミキズ補正を実施する。図4に示すように、ゴミキズ補正部における処理時間は各画像に存在するゴミキズの量に依存する。例えば同図(A)のようにフィルム上のゴミキズの量が少ない場合は、ゴミキズ補正部の負荷が軽くなり、画像の入力時間Nに対してゴミキズ補正時間が短くなるため、フィルムスキャナのように連続して画像を処理する場合においてもフィルムの給送を止めることなくゴミキズ補正を実施できる。同図(B)のようにフィルム上のゴミキズの量が多い場合、ゴミキズ補正部にて補正処理するゴミキズの数が多くなるため、画像の入力時間Nに対して、補正時間Mが長くなる可能性がある。ゴミキズ補正部18にて処理を続行した場合は、フィルムスキャナのように連続して画像が給送されてくる場合、現状の画像のゴミキズ補正が終了するまでフィルムの給送を停止する必要がある。これは、フィルムスキャナ等のハードウェア機器に内臓できるメモリの容量は扱う画像容量に対して非常に少ないめ、現状の画像のゴミキズ処理が終了しない間に次の画像がゴミキズ補正処理部18に入力された場合、現状の画像のゴミキズ補正処理が終了するまで一旦メモリ19に蓄えておく必要があるが、次の画像を貯めるためのメモリ容量が確保できないためである(図5)。   The dust scratch correction unit 18 calculates a threshold value for detecting a defective pixel due to dust scratches from the infrared image (step 4), performs correction processing 1 to correction processing N (step S5), and corrects images for N lines. Is output (step S6). Thereafter, in step S7, it is determined whether or not the correction processing for one screen has been completed. If the processing for one screen has been completed, the correction processing for the next screen is executed (step S8). If the process has not ended, the process proceeds to the next step S9. In step 9, for each N line correction process, the image input time N for one screen is compared with the processing time M required so far. If the dust scratch correction time taken so far is smaller than the input time M of the image for one screen (M <N), the process returns to step 3 to perform dust scratch correction for the image for the next N lines. If the dust scratch correction time taken so far is longer than the input time M for one screen image (M> N), the dust scratch correction for the current image is stopped and the currently corrected visible image The data, dust scratch image data, and dust scratch correction parameters are transferred to the personal computer 21 and the next screen is shifted to dust scratch correction. The personal computer 21 uses a dust scratch correction function programmed in the personal computer 21 to perform dust scratch correction using the transferred visible image data, dust scratch image data, and dust scratch correction parameters. As shown in FIG. 4, the processing time in the dust / scratch correction unit depends on the amount of dust / scratches present in each image. For example, if the amount of dust scratches on the film is small as shown in Fig. 1 (A), the load on the dust scratch correction unit will be light and the dust scratch correction time will be shorter than the image input time N. Even when images are continuously processed, dust flaw correction can be performed without stopping the film feeding. If the amount of dust scratches on the film is large as shown in the figure (B), the number of dust scratches to be corrected by the dust scratch correction unit increases, so the correction time M can be longer than the image input time N. There is sex. When the processing is continued in the dust / scratch correction unit 18, if images are fed continuously like a film scanner, it is necessary to stop feeding the film until dust / scratch correction of the current image is completed. . This is because the amount of memory that can be built into a hardware device such as a film scanner is very small compared to the image capacity to be handled, and the next image is input to the dust / scratch correction processing unit 18 while the dust / scratch processing of the current image is not completed. In this case, it is necessary to temporarily store the image 19 in the memory 19 until the dust / flaw correction processing for the current image is completed, but this is because the memory capacity for storing the next image cannot be secured (FIG. 5).

本発明では、画像入力時間Nに対して、入力時間Nを超えない範囲までゴミキズ補正部18にてゴミキズ補正を実施、残りの補正に関しては、パソコン21へ可視画像データ、ゴミキズ画像データ及び、ゴミキズ補正パラメータを転送、パソコン21内部のゴミキズ補正プログラムによって処理をおこなう。こうすることで、フィルムスキャナのように連続して画像を処理する必要がある場合において、フィルムの給送を止めることなくゴミキズ補正を実施することができる。   In the present invention, the dust scratch correction unit 18 performs dust scratch correction up to a range that does not exceed the input time N with respect to the image input time N, and the remaining correction is made to the personal computer 21 with visible image data, dust scratch image data, and dust scratches. The correction parameters are transferred, and processing is performed by a dust flaw correction program inside the personal computer 21. In this way, when it is necessary to continuously process images as in a film scanner, dust scratch correction can be performed without stopping the film feeding.

[実施の形態2]
第2の実施形態におけるフィルムスキャナの構成は前記実施の形態1と同様であるので、その説明を省略し、ここでは実施の形態1と異なる手段にてフィルムの給送を止めることなくゴミキズ補正を実施する手段について説明する。
[Embodiment 2]
Since the configuration of the film scanner in the second embodiment is the same as that of the first embodiment, the description thereof is omitted, and here, dust scratch correction is performed without stopping the film feeding by means different from the first embodiment. The means to implement is demonstrated.

図6は、実施の形態2におけるゴミキズ補正処理部18内の処理手順を示すフローチャートである。まず、赤外画像からゴミキズのよる欠損画素を検出するための閾値を算出し(ステップ10)、補正処理1から補正処理Nまでを実施(ステップS11)、Nライン分の補正画像を出力する(ステップS12)。その後、ステップS13にて、1画面分の補正処理が終了したかを判断し、1画面分の処理が終了した場合は、次画面の補正処理を実行する(ステップS15)し、1画面分の処理が終了していない場合は、次のステップS14に移る。ステップ14では、次の画面が入力されたかどうかの確認をおこなう。次の画面が入力されていない場合は、次のNライン分の画像のゴミキズ補正を実施する。次の画面が入力されてきた場合は、現在の画像のゴミキズ補正を中止し、現状の補正中の可視画像、ゴミキズ画像データ及び、ゴミキズ補正用パラメータをパソコン21へ転送、次の画面のゴミキズ補正に移る。パソコン21では、パソコン21内にプログラムされたゴミキズ補正機能を用い、転送されてきた画像データ可視画像データ及び、ゴミキズ補正用パラメータを利用しゴミキズ補正を実施する。   FIG. 6 is a flowchart illustrating a processing procedure in the dust / scratch correction processing unit 18 according to the second embodiment. First, a threshold for detecting a defective pixel due to dust scratches is calculated from an infrared image (step 10), correction processing 1 to correction processing N are performed (step S11), and a corrected image for N lines is output (step S11). Step S12). Thereafter, in step S13, it is determined whether the correction process for one screen has been completed. If the process for one screen has been completed, the correction process for the next screen is executed (step S15), If the process has not ended, the process proceeds to the next step S14. In step 14, it is confirmed whether or not the next screen has been input. If the next screen is not entered, the image is corrected for dust on the next N lines. When the next screen is input, the dust scratch correction of the current image is stopped, and the visible image, dust scratch image data, and dust scratch correction parameters that are currently being corrected are transferred to the personal computer 21, and the dust scratch correction of the next screen is performed. Move on. The personal computer 21 uses a dust scratch correction function programmed in the personal computer 21 to perform dust scratch correction using the transferred image data visible image data and dust scratch correction parameters.

本発明では、次の画面が入力されてくるまでの間、フィルムスキャナ内にてゴミキズ補正を実施、次の画面がゴミキズ補正部18に入力されてきた時点で現在の画面のゴミキズ補正処理が終了していない場合は、残りの補正に関しては、パソコン21へ可視画像データ、ゴミキズ画像データ及び、ゴミキズ補正パラメータを転送、パソコン21内部のゴミキズ補正プログラムによって処理をおこなう。こうすることで、フィルムスキャナのように連続して画像を処理する必要がある場合において、フィルムの給送を止めることなくゴミキズ補正を実施することができる。   In the present invention, dust scratch correction is performed in the film scanner until the next screen is input, and when the next screen is input to the dust scratch correction unit 18, the dust scratch correction processing for the current screen is completed. If not, visible image data, dust scratch image data, and dust scratch correction parameters are transferred to the personal computer 21 for the remaining correction, and processing is performed by the dust scratch correction program in the personal computer 21. In this way, when it is necessary to continuously process images as in a film scanner, dust scratch correction can be performed without stopping the film feeding.

[実施の形態3]
第3の実施形態におけるフィルムスキャナの構成は前記実施の形態1と同様であるので、その説明を省略し、ここでは実施の形態1及び実施の形態2と異なる手段にてフィルムの給送を止めることなくゴミキズ補正を実施する手段について説明する。
[Embodiment 3]
Since the configuration of the film scanner in the third embodiment is the same as that in the first embodiment, the description thereof is omitted, and here, the film feeding is stopped by means different from those in the first and second embodiments. A means for carrying out dust flaw correction without any problem will be described.

図7は、実施の形態3おけるゴミキズ補正処理部18内の処理手順を示すフローチャートである。まず、赤外画像からゴミキズのよる欠損画素を検出するための閾値を算出し(ステップ16)、補正処理1から補正処理Nまでを実施(ステップS17)、Nライン分の補正画像を出力する(ステップS18)。その後、ステップS19にて、1画面分の補正処理が終了したかを判断し、1画面分の処理が終了した場合は、次画面の補正処理を実行する(ステップS21)し、1画面分の処理が終了していない場合は、次のステップS20に移る。ステップ20では、メモリ19の残り容量を確認する。メモリ19の残り容量がN以上の場合は、次のNライン分の画像のゴミキズ補正を実施する。メモリ19の残り容量がN未満の場合は、現在の画像のゴミキズ補正を中止し、現状の補正中の可視画像、ゴミキズ画像データ及び、ゴミキズ補正用パラメータをパソコン21へ転送、次の画面のゴミキズ補正に移る。パソコン21では、パソコン21内にプログラムされたゴミキズ補正機能を用い、転送されてきた画像データ可視画像データ及び、ゴミキズ補正用パラメータを利用しゴミキズ補正を実施する。   FIG. 7 is a flowchart showing a processing procedure in the dust flaw correction processing unit 18 in the third embodiment. First, a threshold value for detecting a defective pixel due to dust scratches is calculated from an infrared image (step 16), correction processing 1 to correction processing N are performed (step S17), and a corrected image for N lines is output (step S17). Step S18). Thereafter, in step S19, it is determined whether the correction process for one screen has been completed. If the process for one screen has been completed, the correction process for the next screen is executed (step S21), If the process has not ended, the process proceeds to the next step S20. In step 20, the remaining capacity of the memory 19 is confirmed. If the remaining capacity of the memory 19 is N or more, dust flaw correction is performed on the image for the next N lines. If the remaining capacity of the memory 19 is less than N, the dust scratch correction of the current image is stopped, and the currently corrected visible image, dust scratch image data, and dust scratch correction parameters are transferred to the personal computer 21 and the next screen dust scratch is corrected. Move on to correction. The personal computer 21 uses a dust scratch correction function programmed in the personal computer 21 to perform dust scratch correction using the transferred image data visible image data and dust scratch correction parameters.

本発明では、メモリ19の容量が一定量未満になるまでフィルムスキャナ内でゴミキズ補正処理を実施、メモリ19の容量が一定量未満になった時点で現在の画面のゴミキズ補正処理が終了していない場合は、残りの補正に関しては、パソコン21へ可視画像データ、ゴミキズ画像データ及び、ゴミキズ補正パラメータを転送、パソコン21内部のゴミキズ補正プログラムによって処理をおこなう。こうすることで、フィルムスキャナのように連続して画像を処理する必要がある場合において、フィルムの給送を止めることなくゴミキズ補正を実施することができる。   In the present invention, dust scratch correction processing is performed in the film scanner until the capacity of the memory 19 becomes less than a certain amount. When the capacity of the memory 19 becomes less than a certain amount, the dust scratch correction processing for the current screen is not completed. In this case, with respect to the remaining correction, the visible image data, the dust scratch image data, and the dust scratch correction parameter are transferred to the personal computer 21 and processed by the dust scratch correction program in the personal computer 21. In this way, when it is necessary to continuously process images as in a film scanner, dust scratch correction can be performed without stopping the film feeding.

また、実施の形態1から実施の形態4において、現在の画面のゴミキズ補正処理が終了しないうちに次の画面を処理する必要が生じた場合において、現在の処理中の可視画像、ゴミキズ画像、ゴミキズ補正用パラメータを転送するのではなく、図8のように未補正部分の可視画像データ、未補正部分のゴミキズ画像データ、未補正部分のゴミキズ補正用パラメータをパソコン21へ転送し、パソコン21内のゴミキズ補正用プログラムにて未補正部分のみのゴミキズ補正処理を実施するようにしてもよい。   In the first to fourth embodiments, when the next screen needs to be processed before the dust scratch correction processing for the current screen is completed, the visible image, dust scratch image, dust scratch being currently processed is generated. Instead of transferring the correction parameters, the visible image data of the uncorrected portion, the dust scratch image data of the uncorrected portion, and the dust scratch correction parameter of the uncorrected portion are transferred to the personal computer 21 as shown in FIG. The dust scratch correction process may be performed only on the uncorrected portion in the dust scratch correction program.

尚、以上が本発明の実施形態の説明であるが、本発明は、これらの実施の形態の構成に限られるものではなく、クレームで示した機能、または、実施の形態の構成を持つ機能が達成できる構成であればどのようなものであっても適用可能である。例えば、スキャナ、フィルムスキャナ、複写機、などにも適用可能である。また、以上の実施形態のソフトウェア構成とハードウェア構成は、適宜置き換えることも可能である。さらに、本発明は、クレーム又は、実施形態の構成の全体もしくは、一部が1つの装置を形成するものであっても、他の装置と結合するようなものであっても、さらには、装置を構成する要素となるようなものであってもよい。   The above is the description of the embodiments of the present invention. However, the present invention is not limited to the configurations of these embodiments, and the functions shown in the claims or the functions having the configurations of the embodiments are included. Any configuration that can be achieved is applicable. For example, the present invention can be applied to a scanner, a film scanner, a copying machine, and the like. In addition, the software configuration and the hardware configuration of the above embodiments can be appropriately replaced. Further, the present invention is not limited to the apparatus described in the claims or the embodiments, whether the whole or a part of the configuration forms one apparatus or is combined with another apparatus. It may be an element that constitutes.

また、本発明は、複数の機器から構成されるシステムに適用してもよいし、1つの機器からなる装置に適用してもよい。   In addition, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device.

フィルムスキャナの構成を示す図。The figure which shows the structure of a film scanner. 赤外光のよるフィルム上のゴミキズを検知する方法を示した図。The figure which showed the method of detecting the dust crack on the film by infrared light. ゴミキズ補正部18において行われるゴミキズ補正処理手順を示すフローチャート。9 is a flowchart showing a dust scratch correction processing procedure performed in the dust scratch correction unit 18. ゴミキズ補正処理時間が画像のゴミキズの状態に依存することを示した図。The figure which showed that the dust flaw correction process time is dependent on the state of the dust flaw of an image. 次の画像を貯めるためのメモリ容量を確保できないことを示した図。The figure which showed that the memory capacity for storing the next image could not be secured. 実施の形態2におけるゴミキズ補正処理部18内の処理手順を示すフローチャート。9 is a flowchart illustrating a processing procedure in a dust / scratch correction processing unit 18 according to the second embodiment. 実施の形態3おけるゴミキズ補正処理部18内の処理手順を示すフローチャート。9 is a flowchart showing a processing procedure in a dust flaw correction processing unit 18 according to the third embodiment. パソコン21への画像データの転送方法を示した図。The figure which showed the transfer method of the image data to the personal computer 21.

符号の説明Explanation of symbols

1 ランプ
2 CPU
3 ランプ駆動回路
4 フィルムホルダー
5 副走査モータ
6 モータ駆動回路
7 副走査位置検出センサ
8 フィルタ切換装置
9 フィルタ切換用モータ
10 フィルタ駆動回路
11 フィルタ切換検知センサ
12 結像レンズ
13 CCD
14 CCD駆動回路
15 アナログ処理回路
16 A/D変換器
17 デジタル画像処理部
18 ゴミキズ補正部
19 メモリ
20 インターフェイス部
21 パソコン
1 lamp 2 CPU
DESCRIPTION OF SYMBOLS 3 Lamp drive circuit 4 Film holder 5 Sub scanning motor 6 Motor drive circuit 7 Sub scanning position detection sensor 8 Filter switching device 9 Filter switching motor 10 Filter driving circuit 11 Filter switching detection sensor 12 Imaging lens 13 CCD
14 CCD Drive Circuit 15 Analog Processing Circuit 16 A / D Converter 17 Digital Image Processing Unit 18 Dust Scratch Correction Unit 19 Memory 20 Interface Unit 21 Personal Computer

Claims (6)

可視光及び不可視光を照射する発光部と、前記発光部により照射された原稿からの光を検出して可視画像データを出力する可視画像検出手段と、前記発光部から不可視光を検出する不可視光検出手段と、前記不可視光検出手段により得られたゴミキズ画像データと前記画像検出手段により得られた可視画像データを用いゴミキズ補正処理を行うゴミキズ補正手段と、ゴミキズ補正手段で処理中の画像データを一時的に記憶しておくための記憶手段と、可視画像データ又はゴミキズデータを別装置へ転送するための転送手段と、ゴミキズ補正を続けるかどうかを判断する判断手段と、ゴミキズ補正用パラメータを転送するパラメータ転送手段と、を有する画像処理装置と、ゴミキズ補正用パラメータ、ゴミキズ画像データ、及び、未補正可視画像データを用いゴミキズ補正を実施できる手段を有する別装置と、を有することを特徴とする画像処理システム。   A light emitting unit that emits visible light and invisible light, a visible image detecting unit that detects light from a document irradiated by the light emitting unit and outputs visible image data, and an invisible light that detects invisible light from the light emitting unit Detection unit, dust scratch image data obtained by the invisible light detection unit, dust scratch correction unit that performs dust scratch correction processing using visible image data obtained by the image detection unit, and image data being processed by the dust scratch correction unit Storage means for temporarily storing, transfer means for transferring visible image data or dust scratch data to another apparatus, determination means for determining whether or not to continue dust scratch correction, and dust scratch correction parameters An image processing device having parameter transfer means for transferring, dust scratch correction parameters, dust scratch image data, and an uncorrected visible image The image processing system characterized by having a separate device having means capable of performing dust and flaw correction using data. 請求項1において、前記判断手段は、処理を開始してから一定時間経過後にゴミキズ補正が終了していない場合に現在の画像のゴミキズ補正を中止し、前記転送手段を用い現在の可視画像のゴミキズ補正用パラメータ、ゴミキズ画像データ及び、補正前の可視画像データを別装置へ転送、前記ゴミキズ補正手段にて次の可視画像のゴミキズ補正をおこない、別装置にて現在の可視画像データのゴミキズ補正を実施することを特徴とする画像処理システム。   The determination unit according to claim 1, wherein the dust scratch correction of the current image is stopped when the dust scratch correction is not completed after a lapse of a predetermined time from the start of processing, and the dust scratch of the current visible image is used using the transfer unit. The correction parameter, dust scratch image data and visible image data before correction are transferred to another device, the dust scratch correction of the next visible image is performed by the dust scratch correction means, and dust scratch correction of the current visible image data is performed by another device. An image processing system to be implemented. 請求項1において、前記判断手段は、現在の画像のゴミキズを補正中に次の画像がゴミキズ補正手段に入力された場合に、現在の可視画像のゴミキズ補正を中止し、前記転送手段を用い現在の可視画像のゴミキズ補正用パラメータ、ゴミキズ画像データ及び、補正前の可視画像データを別装置へ転送、前記ゴミキズ補正手段にて次の可視画像のゴミキズ補正をおこない、別装置にて現在の可視画像データのゴミキズ補正を実施することを特徴とする画像処理システム。   The determination unit according to claim 1, wherein when the next image is input to the dust scratch correction unit while correcting the dust scratch of the current image, the determination unit stops the dust scratch correction of the current visible image and uses the transfer unit to The parameters for dust scratch correction of the visible image, the dust scratch image data, and the visible image data before correction are transferred to another device, the dust scratch correction of the next visible image is performed by the dust scratch correcting means, and the current visible image is performed by another device. An image processing system that performs dust flaw correction on data. 請求項1において、前記判断手段は、前記記憶手段に一定量以上の画像が記憶された場合に、現在のゴミキズ補正を中止し、前記転送手段を用い現在の可視画像のゴミキズ補正用パラメータ、ゴミキズ画像データ及び、補正前の可視画像データを別装置へ転送、前記ゴミキズ補正手段にて次の画像のゴミキズ補正をおこない、別装置にて現在の可視画像データのゴミキズ補正を実施することを特徴とする画像処理システム。   2. The determination unit according to claim 1, wherein when the image having a predetermined amount or more is stored in the storage unit, the current dust / scratch correction is stopped, and the transfer unit is used to set a dust / scratch correction parameter for the current visible image, the dust / scratch. Transferring image data and visible image data before correction to another device, performing dust scratch correction on the next image with the dust scratch correcting means, and performing dust scratch correction on the current visible image data with another device Image processing system. 請求項1乃至請求項4において、前記判断手段にて現在の画像データのゴミキズ補正処理を中止すると判断した場合、補正処理が完了した可視画像部分は、前記転送手段を用い、画像データを別装置へ転送、未補正部分の可視画像データは、ゴミキズ補正用パラメータ、未補正部分のゴミキズ画像データと共に別装置へ転送し、別装置にて残りのゴミキズ補正を実施することを特徴とする画像処理システム。   5. The visible image portion for which correction processing has been completed, when the determination means determines that the dust image correction processing for the current image data is to be stopped, uses the transfer means to separate the image data from another device. The image processing system, wherein the visible image data of the uncorrected portion is transferred to another device together with the dust scratch correction parameter and the dust image data of the uncorrected portion, and the remaining dust scratch correction is performed in the separate device. . 請求項1乃至請求項4において、前記判断手段にて現在の画像データのゴミキズ補正処理を中止すると判断した場合、補正前の可視画像データ及びゴミキズ画像データを、別装置へ転送することを特徴とする画像処理システム。   5. The image processing apparatus according to claim 1, wherein when the determination unit determines that the dust flaw correction processing for the current image data is to be stopped, the visible image data and the dust flaw image data before correction are transferred to another apparatus. Image processing system.
JP2005002510A 2005-01-07 2005-01-07 Correction processing system for dust and flaw of image Withdrawn JP2006191446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005002510A JP2006191446A (en) 2005-01-07 2005-01-07 Correction processing system for dust and flaw of image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005002510A JP2006191446A (en) 2005-01-07 2005-01-07 Correction processing system for dust and flaw of image

Publications (1)

Publication Number Publication Date
JP2006191446A true JP2006191446A (en) 2006-07-20

Family

ID=36798138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005002510A Withdrawn JP2006191446A (en) 2005-01-07 2005-01-07 Correction processing system for dust and flaw of image

Country Status (1)

Country Link
JP (1) JP2006191446A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009201076A (en) * 2008-02-25 2009-09-03 Canon Inc Imaging apparatus and method of controlling the same, and program
JP2012099946A (en) * 2010-10-29 2012-05-24 Canon Inc Image processing device, control method for image processing device, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009201076A (en) * 2008-02-25 2009-09-03 Canon Inc Imaging apparatus and method of controlling the same, and program
JP2012099946A (en) * 2010-10-29 2012-05-24 Canon Inc Image processing device, control method for image processing device, and program

Similar Documents

Publication Publication Date Title
JP2007318744A (en) Image reading apparatus and document detecting method
JP2007143014A (en) Image reading apparatus and image reading method
JP2007049673A (en) Image reading apparatus, image forming apparatus, image inspection apparatus and image forming system
JP5531690B2 (en) Image reading apparatus and image forming apparatus
JP4513622B2 (en) Image reading device
JP2008227625A (en) Image processor, image processing method, image processing program and recording medium
JP2006191446A (en) Correction processing system for dust and flaw of image
JP2007135096A (en) Apparatus, method, program and storage medium for reading image
JP6076243B2 (en) Image reading apparatus and image forming apparatus
JP4367079B2 (en) Image reading device
JP2003244439A (en) Image reader
JP3569059B2 (en) Image reading device
JP2010016514A (en) Original reading device
JP2001358914A (en) Image reader
JP2007049314A (en) Image reading apparatus and method therefor
JP2005184101A (en) Image reader
JP2010035136A (en) Image reading apparatus, image forming apparatus, and image reading method
JP4186796B2 (en) Image reading device
JP2010226361A (en) Image reading unit
JP4616716B2 (en) Image reading apparatus and image forming apparatus
JP2002271620A (en) Image reader and imaging device
JP2004112300A (en) Image reader
JP2005191844A (en) Contact image sensor apparatus
JP2002165092A (en) Image processor and image processing method
JPH09135332A (en) Image reader

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080401