JP2010154376A - Fixed pattern noise canceling unit, imaging unit, and electronic endoscope system - Google Patents

Fixed pattern noise canceling unit, imaging unit, and electronic endoscope system Download PDF

Info

Publication number
JP2010154376A
JP2010154376A JP2008331807A JP2008331807A JP2010154376A JP 2010154376 A JP2010154376 A JP 2010154376A JP 2008331807 A JP2008331807 A JP 2008331807A JP 2008331807 A JP2008331807 A JP 2008331807A JP 2010154376 A JP2010154376 A JP 2010154376A
Authority
JP
Japan
Prior art keywords
signal
black pixel
fixed pattern
unit
pattern noise
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.)
Granted
Application number
JP2008331807A
Other languages
Japanese (ja)
Other versions
JP5145210B2 (en
Inventor
Hiroki Iseri
洋輝 井芹
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.)
Hoya Corp
Original Assignee
Hoya Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hoya Corp filed Critical Hoya Corp
Priority to JP2008331807A priority Critical patent/JP5145210B2/en
Publication of JP2010154376A publication Critical patent/JP2010154376A/en
Application granted granted Critical
Publication of JP5145210B2 publication Critical patent/JP5145210B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Endoscopes (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To highly and accurately cancel fixed pattern noise with simple configuration, without providing any mechanical shutter, while simplifying manufacturing processes. <P>SOLUTION: In a fixed pattern noise canceling unit, a timing controller makes an image sensor generate image signals for an exposure time of 200ns. An A/D converter 25 converts the image signals into image data. An image processing section 30 includes a region averaging circuit 31, a discrimination circuit 32, a frame averaging circuit 33 and an FPN correction circuit 34. The region averaging circuit 33 stores in a DRAM 27 pseudo black pixel data and black pixel data constituting the image data. The region averaging circuit 31 averages all the pseudo black pixel data and all the black pixel data stored in the DRAM 27. The discrimination circuit 32 discriminates whether or not to use the pseudo black pixel data for noise data on the basis of the averaged all black pixel data. The frame averaging circuit 33 generates noise data using the pseudo black pixel data discriminated to be used for the noise data. The FPN correction circuit 34 cancels FPN from valid pixel data using the noise data. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、CMOS撮像素子などのように画素毎に異なる固定パターンノイズを簡易な構成で効果的に除去する固定パターンノイズ除去ユニット、撮像ユニット、および固定パターンノイズの除去された画像を作成する内視鏡システムに関する。   The present invention provides a fixed pattern noise removing unit, an imaging unit, and an image in which fixed pattern noise is removed, which effectively removes fixed pattern noise that differs for each pixel, such as a CMOS image sensor, with a simple configuration. The present invention relates to an endoscope system.

消費電力および製造コストの低減化することが可能なCMOS撮像素子が知られている。CMOS撮像素子は各画素にアンプが設けられるため、画素毎に個別の固定パターンノイズが発生する。   A CMOS image sensor that can reduce power consumption and manufacturing cost is known. Since the CMOS image sensor is provided with an amplifier for each pixel, individual fixed pattern noise is generated for each pixel.

固定パターンノイズを除去するために、メカニカルシャッタを閉じた状態で撮像を行うことにより固定パターンノイズ成分を生成させ、撮像時の画像データから固定パターンノイズ成分を除去することが提案されている(特許文献1参照)。   In order to remove fixed pattern noise, it has been proposed to generate a fixed pattern noise component by performing imaging while the mechanical shutter is closed, and remove the fixed pattern noise component from image data at the time of imaging (patent). Reference 1).

しかし、このような固定パターンノイズの除去は、メカニカルシャッタを設ける必要があるため、撮像装置の複雑化および製造コストの増加が問題であった。また、メカニカルシャッタを設けることの難しい撮像装置、例えば電子内視鏡システムに適用することは困難であった。   However, since removal of such fixed pattern noise requires the provision of a mechanical shutter, the imaging device is complicated and the manufacturing cost is increased. Further, it has been difficult to apply to an imaging apparatus that is difficult to provide a mechanical shutter, such as an electronic endoscope system.

また、撮像装置の製造時に撮像素子を遮光して生成させた固定パターンノイズ成分を記憶させ、通常使用時に画像データから固定パターンノイズ成分を除去することも知られている。   In addition, it is also known to store a fixed pattern noise component generated by shielding an image sensor during manufacturing of an imaging device, and to remove the fixed pattern noise component from image data during normal use.

しかし、予め固定パターンノイズ成分を生成させて、記憶させるためにはEEPROMやフラッシュメモリなどの不揮発性メモリを設ける必要があるため、基板の大型化および製造コストの増加が問題であった。また、製造時において固定パターンノイズ成分の生成工程および格納工程が必要であり、工数が増加することおよび撮像装置にこのような工程を実行するための装置が必要となることが問題であった。
特開平8−51571号公報
However, in order to generate and store a fixed pattern noise component in advance, it is necessary to provide a non-volatile memory such as an EEPROM or a flash memory. In addition, a fixed pattern noise component generation process and a storage process are necessary at the time of manufacturing, which increases the man-hours and requires an apparatus for performing such a process in the imaging apparatus.
JP-A-8-51571

したがって、本発明では製造工程を簡潔化しながら、メカニカルシャッタを設けること無く、簡潔な構成で固定パターンノイズを高い精度で除去する固定パターンノイズ除去ユニットを提供することを目的とする。   Accordingly, an object of the present invention is to provide a fixed pattern noise removing unit that removes fixed pattern noise with high accuracy with a simple configuration without simplifying the manufacturing process and providing a mechanical shutter.

本発明の固定パターンノイズ除去ユニットは、受光量に応じた画素信号を生成する複数の画素を有する撮像素子から受光面が遮光された画素である黒色画素が生成する画素信号である黒色画素信号と黒色画素以外の画素である有効画素が生成する画素信号である有効画素信号とを受信する受信部と、撮像素子における画素の露光時間を第1の露光時間または第1の露光時間より短い第2の露光時間に切替えることにより第1の露光時間における受光量に応じた有効画素信号である撮像画素信号または第2の露光時間における受光量に応じた有効画素信号である擬似黒色画素信号を生成させる撮像素子制御部と、黒色画素信号に基づいて擬似黒色画素信号を対応する有効画素における固定パターンノイズと見做せるか否かを判別する判別部と、判別部により固定パターンノイズと見做された擬似黒色画素信号をノイズ信号として格納するメモリと、撮像画素信号からノイズ信号を減じる減算部とを備えることを特徴としている。   The fixed pattern noise removal unit of the present invention includes a black pixel signal that is a pixel signal generated by a black pixel that is a pixel whose light-receiving surface is shielded from an imaging element that has a plurality of pixels that generate a pixel signal corresponding to the amount of received light. A receiving unit that receives an effective pixel signal that is a pixel signal generated by an effective pixel that is a pixel other than a black pixel, and a second exposure time that is shorter than the first exposure time or the first exposure time. By switching to this exposure time, an imaging pixel signal that is an effective pixel signal corresponding to the amount of received light in the first exposure time or a pseudo black pixel signal that is an effective pixel signal corresponding to the amount of received light in the second exposure time is generated. An image sensor control unit, a determination unit that determines whether the pseudo black pixel signal can be regarded as fixed pattern noise in the corresponding effective pixel based on the black pixel signal, A memory for storing the pseudo black pixel signal is considered a fixed pattern noise by another section as a noise signal, it is characterized in that it comprises a subtraction unit for subtracting the noise signal from the imaging pixel signal.

さらに、撮像素子制御部は撮像素子に第2の露光時間の撮像を複数回実行させることにより各有効画素に対応する複数の擬似黒色画素信号を生成させ、減算部は複数の擬似黒色画素信号の中で判別部により固定パターンノイズとして見做された擬似黒色画素信号に基づくノイズ信号を撮像画素信号から減じることが好ましい。   Further, the image sensor control unit causes the image sensor to perform imaging for the second exposure time a plurality of times to generate a plurality of pseudo black pixel signals corresponding to each effective pixel, and the subtractor unit generates a plurality of pseudo black pixel signals. Among them, it is preferable to subtract the noise signal based on the pseudo black pixel signal regarded as the fixed pattern noise by the determination unit from the imaging pixel signal.

また、判別部により固定パターンノイズと見做された複数の擬似黒色画素信号を有効画素毎に平均化する第1の平均化部を備え、減算部は第1の平均化部により平均化された擬似黒色画素信号をノイズ信号として撮像画素信号から減じることが好ましい。   In addition, a first averaging unit that averages a plurality of pseudo black pixel signals regarded as fixed pattern noise by the determination unit for each effective pixel is provided, and the subtraction unit is averaged by the first averaging unit It is preferable to subtract the pseudo black pixel signal from the imaging pixel signal as a noise signal.

また、撮像素子制御部は判別部により固定パターンノイズと見做される擬似黒色画素信号がm個(mは2以上の整数)になるまで撮像素子に第2の露光時間での撮像を繰返させ、第1の平均化部は固定パターンノイズと見做されたm個の擬似黒色画素信号を平均化することが好ましい。   The image sensor control unit causes the image sensor to repeat imaging at the second exposure time until the number of pseudo black pixel signals regarded as fixed pattern noise by the determination unit reaches m (m is an integer of 2 or more). The first averaging unit preferably averages m pseudo black pixel signals regarded as fixed pattern noise.

また、撮像素子に配置されるすべてまたは一部の有効画素に対応する擬似黒色画素信号を平均化することにより平均化信号を生成する第2の平均化部を備え、判別部は黒色画素信号に基づいて平均化信号を固定パターンノイズと見做せるか否かを判別することが好ましい。   A second averaging unit that generates an averaged signal by averaging the pseudo black pixel signals corresponding to all or some of the effective pixels arranged in the image sensor; Based on this, it is preferable to determine whether or not the averaged signal can be regarded as fixed pattern noise.

また、撮像素子制御部は撮像素子に第2の露光時間の撮像を複数回実行させることにより各有効画素に対応する複数の擬似黒色画素信号を生成させ、減算部は判別部により固定パターンノイズと見做された平均化信号の生成に用いられた擬似黒色画素信号に基づくノイズ信号を撮像画素信号から減じることが好ましい。   The image sensor control unit causes the image sensor to perform imaging for the second exposure time a plurality of times to generate a plurality of pseudo black pixel signals corresponding to each effective pixel. Preferably, the noise signal based on the pseudo black pixel signal used to generate the estimated average signal is subtracted from the imaging pixel signal.

また、判別部により固定パターンノイズと見做された平均化信号の生成に用いられた複数の擬似黒色画素信号を有効画素毎に平均化する第1の平均化部を備え、減算部は第1の平均化部により平均化された擬似黒色画素信号をノイズ信号として撮像画素信号から減じることが好ましい。   In addition, a first averaging unit that averages, for each effective pixel, a plurality of pseudo black pixel signals used to generate an average signal regarded as fixed pattern noise by the determination unit, and the subtraction unit includes a first subtraction unit It is preferable to subtract the pseudo black pixel signal averaged by the averaging unit from the image pickup pixel signal as a noise signal.

また、撮像素子制御部は判別部により固定パターンノイズと見做される平均化信号がm個(mは2以上の整数)になるまで撮像素子に第2の露光時間での撮像を繰返させ、第1の平均化部は固定パターンノイズと見做されたm個の平均化信号の生成に用いられた擬似黒色画素信号を平均化することが好ましい。   In addition, the image sensor control unit causes the image sensor to repeat imaging at the second exposure time until the averaged signal regarded as fixed pattern noise by the determination unit reaches m (m is an integer of 2 or more), The first averaging unit preferably averages the pseudo black pixel signal used to generate m averaged signals regarded as fixed pattern noise.

また、有効画素が配置された全領域の一部の領域である第1、第2の小領域における複数の有効画素に対応する擬似黒色画素信号を平均化することにより平均化信号を生成する第2の平均化部を備え、判別部は黒色画素信号に基づいて平均化信号を固定パターンノイズと見做せるか否かを第1、第2の小領域毎に判別することが好ましい。   Further, the average signal is generated by averaging the pseudo black pixel signals corresponding to the plurality of effective pixels in the first and second small areas which are a part of the entire area where the effective pixels are arranged. It is preferable that the first and second subregions determine whether or not the averaged signal can be regarded as fixed pattern noise based on the black pixel signal.

また、撮像素子制御部は撮像素子に第2の露光時間の撮像を複数回実行させることにより各有効画素に対応する複数の擬似黒色画素信号を生成させ、減算部は判別部により固定パターンノイズと見做された平均化信号の生成に用いられた擬似黒色画素信号に基づくノイズ信号を撮像画素信号から減じることが好ましい。   The image sensor control unit causes the image sensor to perform imaging for the second exposure time a plurality of times to generate a plurality of pseudo black pixel signals corresponding to each effective pixel. Preferably, the noise signal based on the pseudo black pixel signal used to generate the estimated average signal is subtracted from the imaging pixel signal.

また、判別部により固定パターンノイズと見做された平均化信号の生成に用いられた複数の擬似黒色画素信号を有効画素毎に平均化する第1の平均化部を備え、減算部は第1の平均化部により平均化された擬似黒色画素信号をノイズ信号として撮像画素信号から減じることが好ましい。   In addition, a first averaging unit that averages, for each effective pixel, a plurality of pseudo black pixel signals used to generate an average signal regarded as fixed pattern noise by the determination unit, and the subtraction unit includes a first subtraction unit It is preferable to subtract the pseudo black pixel signal averaged by the averaging unit from the image pickup pixel signal as a noise signal.

また、撮像素子制御部は判別部により固定パターンノイズと見做される平均化信号が第1、第2の小領域毎にm個(mは2以上の整数)になるまで撮像素子に前記第2の露光時間での撮像を繰返させ、第1の平均化部は固定パターンノイズと見做されたm個の平均化信号の生成に用いられた擬似黒色画素信号を平均化することが好ましい。   In addition, the image sensor control unit controls the image sensor until the average signal regarded as fixed pattern noise by the determination unit becomes m (m is an integer of 2 or more) for each of the first and second small regions. It is preferable that the imaging with the exposure time of 2 is repeated, and the first averaging unit averages the pseudo black pixel signals used for generating m averaged signals regarded as fixed pattern noise.

また、撮像素子に設けられる複数の黒色画素に対応する黒色画素信号を平均化する第3の平均化部を備え、判別部は第3の平均化部により平均化された黒色画素信号に基づいて擬似黒色画素信号を固定パターンノイズと見做せるか否かを判別することが好ましい。   In addition, a third averaging unit that averages black pixel signals corresponding to a plurality of black pixels provided in the image sensor is provided, and the determination unit is based on the black pixel signals averaged by the third averaging unit. It is preferable to determine whether or not the pseudo black pixel signal can be regarded as fixed pattern noise.

また、撮像素子制御部は固定パターンノイズ除去ユニットが設けられる撮像装置の起動時に画素の露光時間を第2の露光時間に切替えて擬似黒色画素信号を生成させることが好ましい。   In addition, it is preferable that the image sensor control unit generates a pseudo black pixel signal by switching the pixel exposure time to the second exposure time when the image pickup apparatus provided with the fixed pattern noise removal unit is started.

また、撮像素子制御部は画素の露光時間を第1の露光時間に切替えて連続的に撮像画素信号を生成し続けている間に、画素の露光時間を第2の露光時間に切替えて擬似黒色画素信号を生成させることが好ましい。   The image sensor control unit switches the pixel exposure time to the second exposure time while switching the pixel exposure time to the first exposure time and continuously generating the image pickup pixel signal. It is preferable to generate a pixel signal.

また、擬似黒色画素信号を生成するコマンドを入力する入力部を備え、入力部に擬似黒色画素信号を生成するコマンドが入力されるときに撮像素子制御部は画素の露光時間を第2の露光時間に切替えて擬似黒色画素信号を生成させることが好ましい。   In addition, an input unit for inputting a command for generating a pseudo black pixel signal is provided, and the imaging element control unit sets the pixel exposure time to the second exposure time when a command for generating the pseudo black pixel signal is input to the input unit. Preferably, the pseudo black pixel signal is generated by switching to the above.

また、判別部は擬似黒色画素信号の輝度成分と黒色画素信号の輝度成分との差が閾値未満である場合に擬似黒色画素信号を固定パターンノイズと見做すことが好ましい。   Further, it is preferable that the determination unit considers the pseudo black pixel signal as fixed pattern noise when the difference between the luminance component of the pseudo black pixel signal and the luminance component of the black pixel signal is less than a threshold value.

また、第2の露光時間は有効画素への積算露光量が黒色に相当する積算露光量と見做せる時間未満に定められることが好ましい。   Further, it is preferable that the second exposure time is set to be less than a time period in which the integrated exposure amount to the effective pixel can be regarded as an integrated exposure amount corresponding to black.

また、第2の露光時間は撮像素子に設定可能な最短の露光時間であることが好ましい。   The second exposure time is preferably the shortest exposure time that can be set in the image sensor.

本発明の撮像ユニットは、受光量に応じた画素信号を生成する複数の画素を有し受光面が遮光された画素である黒色画素が黒色画素信号を生成し黒色画素以外の画素である有効画素が有効画素信号を生成する撮像素子と、撮像素子における画素の露光時間を第1の露光時間または第1の露光時間より短い第2の露光時間に切替えることにより第1の露光時間における受光量に応じた有効画素信号である撮像画素信号または第2の露光時間における受光量に応じた有効画素信号である擬似黒色画素信号を生成させる撮像素子制御部と、黒色画素信号に基づいて擬似黒色画素信号を対応する有効画素における固定パターンノイズと見做せるか否かを判別する判別部と、判別部により固定パターンノイズと見做された擬似黒色画素信号をノイズ信号として格納するメモリと、撮像画素信号からノイズ信号を減じる減算部とを備えることを特徴としている。   The imaging unit of the present invention has a plurality of pixels that generate a pixel signal corresponding to the amount of received light, and a black pixel that is a pixel whose light-receiving surface is shielded generates a black pixel signal and is an effective pixel that is a pixel other than the black pixel Changes the exposure time of the pixel in the image sensor to the first exposure time or the second exposure time shorter than the first exposure time, thereby reducing the amount of light received in the first exposure time. An imaging element control unit that generates an imaging pixel signal that is a corresponding effective pixel signal or a pseudo black pixel signal that is an effective pixel signal corresponding to the amount of received light in the second exposure time, and a pseudo black pixel signal based on the black pixel signal Is determined as a fixed pattern noise in the corresponding effective pixel, and a pseudo black pixel signal regarded as a fixed pattern noise by the determination unit is a noise signal. A memory for storing and is characterized in that it comprises a subtraction unit for subtracting the noise signal from the imaging pixel signal.

本発明の電子内視鏡システムは、受光量に応じた画素信号を生成する複数の画素を有し受光面が遮光された画素である黒色画素が黒色画素信号を生成し黒色画素以外の画素である有効画素が有効画素信号を生成する撮像素子と撮像素子における画素の露光時間を第1の露光時間または第1の露光時間より短い第2の露光時間に切替えることにより第1の露光時間における受光量に応じた有効画素信号である撮像画素信号または第2の露光時間における受光量に応じた有効画素信号である擬似黒色画素信号を生成させる撮像素子制御部と黒色画素信号に基づいて擬似黒色画素信号を対応する有効画素における固定パターンノイズと見做せるか否かを判別する判別部と判別部により固定パターンノイズと見做された擬似黒色画素信号をノイズ信号として格納するメモリと撮像画素信号からノイズ信号を減じる減算部とを有する撮像ユニットを備えることを特徴としている。   In the electronic endoscope system of the present invention, a black pixel, which is a pixel having a plurality of pixels that generate a pixel signal corresponding to the amount of received light and whose light receiving surface is shielded, generates a black pixel signal, and is a pixel other than the black pixel. An image sensor in which an effective pixel generates an effective pixel signal, and light reception in the first exposure time by switching the exposure time of the pixel in the image sensor to the first exposure time or the second exposure time shorter than the first exposure time. An image pickup pixel signal that is an effective pixel signal corresponding to the amount or a pseudo black pixel signal based on the image pickup element control unit that generates a pseudo black pixel signal that is an effective pixel signal corresponding to the amount of received light in the second exposure time and the black pixel signal A determination unit that determines whether a signal can be regarded as fixed pattern noise in a corresponding effective pixel, and a pseudo black pixel signal that is regarded as fixed pattern noise by the determination unit as a noise signal It is characterized by an imaging unit having a memory and an imaging pixel signal stored in the subtraction section subtracting the noise signal.

本発明によれば、製造工程を簡潔化しながら、メカニカルシャッタおよび不揮発性メモリを設けること無く、簡潔な構成で固定パターンノイズを高い精度で除去することが可能となる。   According to the present invention, it is possible to remove fixed pattern noise with high accuracy with a simple configuration without simplifying the manufacturing process and without providing a mechanical shutter and a nonvolatile memory.

以下、本発明の実施形態について図面を参照して説明する。
図1は、本発明の第1の実施形態を適用した固定パターンノイズ除去ユニットを有する電子内視鏡システムの内部構成を概略的に示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram schematically showing an internal configuration of an electronic endoscope system having a fixed pattern noise removing unit to which the first embodiment of the present invention is applied.

電子内視鏡システム10は、電子内視鏡20、内視鏡プロセッサ40、およびモニタ11によって構成される。内視鏡プロセッサ40は、電子内視鏡20、及びモニタ11に接続される。   The electronic endoscope system 10 includes an electronic endoscope 20, an endoscope processor 40, and a monitor 11. The endoscope processor 40 is connected to the electronic endoscope 20 and the monitor 11.

内視鏡プロセッサ40には光源ユニット(図示せず)が設けられる。光源ユニットから照射する照明光が、電子内視鏡20のコネクタ21から挿入管22の先端まで延設されるライトガイド(図示せず)によって挿入管22の先端まで伝達される。   The endoscope processor 40 is provided with a light source unit (not shown). Illumination light emitted from the light source unit is transmitted to the distal end of the insertion tube 22 by a light guide (not shown) extending from the connector 21 of the electronic endoscope 20 to the distal end of the insertion tube 22.

ライトガイドにより伝達された照明光が挿入管22の先端付近に照射される。照明光を照射された被写体が電子内視鏡20により撮像される。電子内視鏡20の撮像により生成する画像信号が内視鏡プロセッサ40に送られる。   Illumination light transmitted by the light guide is irradiated near the tip of the insertion tube 22. The subject irradiated with the illumination light is imaged by the electronic endoscope 20. An image signal generated by imaging of the electronic endoscope 20 is sent to the endoscope processor 40.

内視鏡プロセッサ40は画像処理回路41を有しており、画像処理回路41において電子内視鏡20から得られた画像信号に対して所定の信号処理が施される。所定の信号処理を施した画像信号はモニタ11に送信され、送信された画像信号に相当する画像がモニタ11に表示される。   The endoscope processor 40 includes an image processing circuit 41, and predetermined signal processing is performed on an image signal obtained from the electronic endoscope 20 in the image processing circuit 41. The image signal subjected to the predetermined signal processing is transmitted to the monitor 11, and an image corresponding to the transmitted image signal is displayed on the monitor 11.

なお、光源ユニットおよび画像処理回路41は、内視鏡プロセッサ40に設けられるシステムコントローラ42により動作が制御される。また、システムコントローラ42は、電子内視鏡20にも接続され、電子内視鏡20の各部位の動作も制御する。   The operation of the light source unit and image processing circuit 41 is controlled by a system controller 42 provided in the endoscope processor 40. The system controller 42 is also connected to the electronic endoscope 20 and controls the operation of each part of the electronic endoscope 20.

なお、内視鏡プロセッサ40には入力部43が設けられる。使用者によるコマンドが入力されると、入力されたコマンドに応じたオーダー信号が入力部43からシステムコントローラ42に送信される。システムコントローラ42は、受信したオーダー信号に応じて各部位の動作を制御する。   Note that the endoscope processor 40 is provided with an input unit 43. When a command from the user is input, an order signal corresponding to the input command is transmitted from the input unit 43 to the system controller 42. The system controller 42 controls the operation of each part according to the received order signal.

電子内視鏡20には、対物レンズ23、撮像素子24、A/Dコンバータ25(受信部)、画像処理部30、D/Aコンバータ26、DRAM27(メモリ)、タイミングコントローラ28(撮像素子制御部)などが設けられる。   The electronic endoscope 20 includes an objective lens 23, an image sensor 24, an A / D converter 25 (receiver), an image processor 30, a D / A converter 26, a DRAM 27 (memory), and a timing controller 28 (image sensor controller). ) Etc. are provided.

前述のように、照明光が照射された被写体の光学像が対物レンズ23を介して、撮像素子24の受光面に到達する。タイミングコントローラ28の駆動に基づいて、撮像素子24は受光面に到達した光学像に相当する画像信号を生成する。   As described above, the optical image of the subject irradiated with the illumination light reaches the light receiving surface of the image sensor 24 through the objective lens 23. Based on the driving of the timing controller 28, the image sensor 24 generates an image signal corresponding to the optical image that has reached the light receiving surface.

撮像素子24はCMOS撮像素子であり、受光面には行列状に複数の画素が配置される。タイミングコントローラ24により各画素が生成する画素信号の出力時期が制御され、画素信号が撮像素子24から順番に出力される。受光面に配置されたすべての画素が生成した画素信号によって1フレームの画像信号が構成される。   The image sensor 24 is a CMOS image sensor, and a plurality of pixels are arranged in a matrix on the light receiving surface. The output timing of the pixel signal generated by each pixel is controlled by the timing controller 24, and the pixel signal is sequentially output from the image sensor 24. An image signal of one frame is constituted by pixel signals generated by all the pixels arranged on the light receiving surface.

なお、後述するように、タイミングコントローラ28は画素の露光時間を制御することも可能である。さらに、タイミングコントローラ28により、A/Dコンバータ25および画像処理部30における動作のタイミングも制御される。   As will be described later, the timing controller 28 can also control the exposure time of the pixels. Further, the timing controller 28 also controls the operation timing in the A / D converter 25 and the image processing unit 30.

撮像素子24の構成について説明する。撮像素子24は、図2に示すように、受光面の中央部に有効画素領域AAが設けられ、周辺部にオプティカルブラック(OB)領域BAが設けられる。   The configuration of the image sensor 24 will be described. As shown in FIG. 2, the image sensor 24 is provided with an effective pixel area AA at the center of the light receiving surface and an optical black (OB) area BA at the periphery.

有効画素領域AAには、有効画素24aが配置される。また、OB領域BAには、黒色画素24bが配置される。なお、黒色画素24bは、有効画素24aの受光面をアルミニウム膜などにより遮光した画素である。   An effective pixel 24a is disposed in the effective pixel area AA. Further, the black pixel 24b is arranged in the OB area BA. The black pixel 24b is a pixel in which the light receiving surface of the effective pixel 24a is shielded by an aluminum film or the like.

有効画素24aからは、有効画素信号が生成される。有効画素信号は、固定パターンノイズ(FPN)成分および受光量成分を有する。FPN成分は、各画素固有のノイズ成分であり、露光時間に関わらず一定の大きさである。また、受光量成分は、有効画素24aへの積算露光量、すなわち入射光の光量および露光時間の積に応じた大きさである。   An effective pixel signal is generated from the effective pixel 24a. The effective pixel signal has a fixed pattern noise (FPN) component and a received light amount component. The FPN component is a noise component unique to each pixel, and has a constant magnitude regardless of the exposure time. The received light amount component has a magnitude corresponding to the integrated exposure amount to the effective pixel 24a, that is, the product of the amount of incident light and the exposure time.

黒色画素24bからは、黒色画素信号が生成される。前述のように黒色画素24bには光が入射しないので、黒色画素信号は受光量成分を有さず、すなわちFPN成分のみを有する。   A black pixel signal is generated from the black pixel 24b. As described above, since no light is incident on the black pixel 24b, the black pixel signal has no light reception amount component, that is, only the FPN component.

前述のように、1フレームの画像信号は受光面のすべての画素の画素信号、すなわち、全有効画素24aおよび全黒色画素24bそれぞれが生成する有効画素信号および黒色画素信号によって構成される。   As described above, the image signal of one frame is composed of pixel signals of all pixels on the light receiving surface, that is, effective pixel signals and black pixel signals generated by all effective pixels 24a and all black pixels 24b, respectively.

生成された画像信号は、撮像素子24からA/Dコンバータ25に送信される。A/Dコンバータ25によりA/D変換が施され、アナログ画像信号がデジタル画像データに変換される。なお、画像データは、有効画素信号および黒色画素信号をA/D変換した有効画素データおよび黒色画素データによって構成される。   The generated image signal is transmitted from the image sensor 24 to the A / D converter 25. A / D conversion is performed by the A / D converter 25, and the analog image signal is converted into digital image data. The image data is composed of effective pixel data and black pixel data obtained by A / D converting the effective pixel signal and the black pixel signal.

画像データは、画像処理部30に送信される。画像処理部30では、FPN除去を含む所定の画像処理が画像データに対して施される。なお、画像処理部30はDRAM27に接続される。DRAM27には、後述するように、FPN除去のための画素データが格納される。   The image data is transmitted to the image processing unit 30. In the image processing unit 30, predetermined image processing including FPN removal is performed on the image data. Note that the image processing unit 30 is connected to the DRAM 27. The DRAM 27 stores pixel data for FPN removal, as will be described later.

所定の画像処理が施された画像データは、D/Aコンバータ26に送信される。D/Aコンバータ26によりD/A変換が施され、デジタル画像データがアナログ画像信号に変換される。変換された画像信号は内視鏡プロセッサ40の画像処理回路41に送信される。前述のように、画像処理回路41では画像信号に対して所定の画像処理が施される。画像処理後、画像信号はモニタ11に送信され、画像信号に相当する画像がモニタ11に表示される。   Image data that has undergone predetermined image processing is transmitted to the D / A converter 26. D / A conversion is performed by the D / A converter 26, and the digital image data is converted into an analog image signal. The converted image signal is transmitted to the image processing circuit 41 of the endoscope processor 40. As described above, the image processing circuit 41 performs predetermined image processing on the image signal. After the image processing, the image signal is transmitted to the monitor 11 and an image corresponding to the image signal is displayed on the monitor 11.

次に、画像処理部30の構成とともに、画像処理部30において実行されるFPN除去について説明する。図3に示すように、画像処理部30は、領域平均化回路31(第2の平均化部、第3の平均化部)、判別回路32(判別部)、フレーム平均化回路33(第1の平均化部)、FPN補正回路34(減算部)、および一般画像処理回路35などによって構成される。   Next, the configuration of the image processing unit 30 and the FPN removal executed in the image processing unit 30 will be described. As shown in FIG. 3, the image processing unit 30 includes a region averaging circuit 31 (second averaging unit and third averaging unit), a determination circuit 32 (determination unit), and a frame averaging circuit 33 (first unit). The FPN correction circuit 34 (subtraction unit), the general image processing circuit 35, and the like.

有効画素信号からFPN成分を除去するためには、各有効画素固有のFPN成分であるノイズ信号が必要である。FPN除去の前に、画像処理部30によりノイズデータが生成される。   In order to remove the FPN component from the effective pixel signal, a noise signal that is an FPN component unique to each effective pixel is required. Prior to the FPN removal, noise data is generated by the image processing unit 30.

ノイズデータを生成するために、タイミングコントローラ28は設定可能な最短の露光時間、例えば200nsの露光時間で、撮像素子24に画像信号を生成させる。露光時間が200nsの場合には、生成した有効画素信号は擬似黒色画素データとして領域平均化回路31に送信される。また、黒色画素データも領域平均化回路31に送信される。   In order to generate noise data, the timing controller 28 causes the image sensor 24 to generate an image signal with the shortest exposure time that can be set, for example, an exposure time of 200 ns. When the exposure time is 200 ns, the generated effective pixel signal is transmitted to the area averaging circuit 31 as pseudo black pixel data. Black pixel data is also transmitted to the area averaging circuit 31.

領域平均化回路31は、受信した擬似黒色画素データおよび黒色画素データをDRAM27に格納させる。DRAM27には、各有効画素24aおよび各黒色画素24bの格納領域が定められており、順番に受信する擬似黒色画素データおよび黒色画素データが定められた格納領域に格納される。   The area averaging circuit 31 stores the received pseudo black pixel data and black pixel data in the DRAM 27. In the DRAM 27, storage areas for the effective pixels 24a and the black pixels 24b are defined, and the pseudo black pixel data and the black pixel data received in order are stored in the determined storage areas.

1フレームの画像データを構成する擬似黒色画素データおよび黒色画素データがDRAM27に格納されると、領域平均化回路31により1フレームの画像データを構成するすべての擬似黒色画素データが読出され、輝度データ成分が平均化される。また、領域平均化回路31によりすべての黒色画素データも読出され、輝度データ成分が平均化される。   When the pseudo black pixel data and black pixel data constituting one frame of image data are stored in the DRAM 27, all the pseudo black pixel data constituting one frame of image data are read out by the area averaging circuit 31, and the luminance data Ingredients are averaged. Further, all black pixel data is also read out by the area averaging circuit 31, and the luminance data components are averaged.

平均化された擬似黒色画素データの輝度データ成分である平均擬似黒色データと、平均化された黒色画素データの輝度データ成分である平均黒色データとが、判別回路32に送信される。判別回路32では平均擬似黒色データと平均黒色データとが比較され、平均擬似黒色データと平均黒色データのデータレベルの差が第1の閾値未満であるか否かが判別される。   The average pseudo black data that is the luminance data component of the averaged pseudo black pixel data and the average black data that is the luminance data component of the averaged black pixel data are transmitted to the determination circuit 32. The determination circuit 32 compares the average pseudo black data with the average black data, and determines whether or not the difference in data level between the average pseudo black data and the average black data is less than the first threshold value.

擬似黒色画素データすなわち有効画素データには、前述のようにFPN成分と受光量成分とが含まれる。前述のように、受光量成分は入射光の光量および露光時間の積に応じた大きさである。したがって、入射光量および露光時間が十分に短ければ、受光量成分の信号レベルがゼロとみなせる擬似黒色画素信号が生成される。しかし、露光時間を十分に短くしても、入射光量が大きい場合には、ゼロより大きな信号レベルの受光量成分を含む擬似黒色画素信号が生成される。   The pseudo black pixel data, that is, effective pixel data includes the FPN component and the received light amount component as described above. As described above, the received light amount component has a magnitude corresponding to the product of the amount of incident light and the exposure time. Therefore, if the incident light amount and the exposure time are sufficiently short, a pseudo black pixel signal is generated in which the signal level of the received light amount component can be regarded as zero. However, even if the exposure time is sufficiently shortened, if the amount of incident light is large, a pseudo black pixel signal including a received light amount component having a signal level greater than zero is generated.

そこで、判別回路32において、平均擬似黒色データと平均黒色データとを比較することにより、撮像素子24への入射光量が十分に小さく擬似黒色画素信号が実質的にFPN成分のみを有しているか否かが判別される。   Therefore, the discrimination circuit 32 compares the average pseudo black data with the average black data to determine whether the amount of incident light on the image sensor 24 is sufficiently small and the pseudo black pixel signal has substantially only the FPN component. Is determined.

平均擬似黒色データと平均黒色データとのデータレベルの差が第1の閾値を超える場合には、平均擬似黒色データの生成に用いたフレームの画像データが、DRAM27から消去される。平均擬似黒色データと平均黒色データとのデータレベルの差が第1の閾値未満である場合には、平均擬似黒色データの生成に用いたフレームの画像データは、そのままDRAM27に格納される。   When the difference in data level between the average pseudo black data and the average black data exceeds the first threshold value, the image data of the frame used for generating the average pseudo black data is erased from the DRAM 27. When the difference in data level between the average pseudo black data and the average black data is less than the first threshold value, the frame image data used to generate the average pseudo black data is stored in the DRAM 27 as it is.

1フレームの画像データのDRAM27への格納、領域平均化回路31における平均化、および判別回路32における判別を完了すると、タイミングコントローラ28は再び200nsの露光時間で撮像素子24に画像信号を生成させる。   When the storage of one frame of image data in the DRAM 27, the averaging in the area averaging circuit 31 and the determination in the determination circuit 32 are completed, the timing controller 28 again causes the image sensor 24 to generate an image signal with an exposure time of 200 ns.

前述のように、新たに生成した1フレームの画像データのDRAM27への格納、領域平均化回路31における平均化、および判別回路32による判別が行なわれる。平均擬似黒色データと平均黒色データとのデータレベルの差が第1の閾値未満となる画像データが20フレームになるまで、DRAM27への格納、領域平均化回路31における平均化、および判別回路32による判別が行なわれる。判別回路32により消去されない画像データが20フレームになると、200nsの露光時間による撮像が停止される。   As described above, the newly generated image data of one frame is stored in the DRAM 27, averaged in the area averaging circuit 31, and determined by the determination circuit 32. Until the image data in which the difference in data level between the average pseudo black data and the average black data is less than the first threshold reaches 20 frames, storage in the DRAM 27, averaging in the area averaging circuit 31, and the determination circuit 32 A determination is made. When the image data that is not erased by the determination circuit 32 reaches 20 frames, imaging with an exposure time of 200 ns is stopped.

判別回路32により消去されなかった20フレームの画像データが、フレーム平均化回路33に読出される。フレーム平均化回路33により、同じ有効画素に対応しフレームの異なる20の擬似黒色画素データが平均化され、ノイズデータが生成される。生成したノイズデータは、DRAM27に格納される。   The 20-frame image data that has not been erased by the discrimination circuit 32 is read out to the frame averaging circuit 33. The frame averaging circuit 33 averages the 20 pseudo black pixel data corresponding to the same effective pixel and having different frames to generate noise data. The generated noise data is stored in the DRAM 27.

ノイズデータがDRAM27に格納されると、タイミングコントローラ28は通常の画像を撮影するための露光時間、例えば1/60sの露光時間で、撮像素子24に画像信号を生成させる。前述のように、1フレームの画像信号を構成する各有効画素信号が撮像画素信号として順番にA/Dコンバータ25を介して、画像処理部30に送信される。   When the noise data is stored in the DRAM 27, the timing controller 28 causes the image sensor 24 to generate an image signal with an exposure time for taking a normal image, for example, an exposure time of 1 / 60s. As described above, each effective pixel signal constituting one frame of the image signal is sequentially transmitted to the image processing unit 30 via the A / D converter 25 as an imaging pixel signal.

露光時間が1/60sの場合には、生成されA/D変換された撮像画素データは、FPN補正回路34に送信される。FPN補正回路34には、受信した撮像画素データに対応する有効画素24aのノイズデータが、DRAM27から読出される。FPN補正回路34により、撮像画素データからノイズデータが減じられることにより、FPN成分が除去される。   When the exposure time is 1/60 s, the imaged pixel data generated and A / D converted is transmitted to the FPN correction circuit 34. In the FPN correction circuit 34, noise data of the effective pixel 24a corresponding to the received imaging pixel data is read from the DRAM 27. The FPN component is removed by subtracting noise data from the imaged pixel data by the FPN correction circuit 34.

FPN成分が除去された補正撮像画素データは一般画像処理回路35に送信され、色補間処理やガンマ補正処理などの所定の画像処理が施される。所定の画像処理の施された補正撮像画素データが、前述のように、D/Aコンバータ26に送信される。   The corrected imaging pixel data from which the FPN component has been removed is transmitted to the general image processing circuit 35, and subjected to predetermined image processing such as color interpolation processing and gamma correction processing. The corrected imaging pixel data subjected to the predetermined image processing is transmitted to the D / A converter 26 as described above.

次に、タイミングコントローラ28および画像処理部30によって行われるノイズデータ作成および撮像画素データからのFPN成分の除去の処理を図4、図5のフローチャートを用いて説明する。   Next, noise data generation and FPN component removal processing from the imaged pixel data performed by the timing controller 28 and the image processing unit 30 will be described with reference to the flowcharts of FIGS. 4 and 5.

図4は、FPN成分の除去の処理を説明するためのフローチャートである。図5は、ノイズデータ生成のサブルーチンを説明するためのフローチャートである。FPN成分の除去の処理は、電子内視鏡システム10の電源をONにするときに開始される。   FIG. 4 is a flowchart for explaining processing for removing the FPN component. FIG. 5 is a flowchart for explaining a subroutine for generating noise data. The process of removing the FPN component is started when the electronic endoscope system 10 is turned on.

ステップS100において電子内視鏡20を起動させると、ステップS200に進み、各有効画素24a固有のノイズデータを生成させる。ノイズデータの生成が終わるとステップS101に進む。   When the electronic endoscope 20 is activated in step S100, the process proceeds to step S200, and noise data specific to each effective pixel 24a is generated. When the generation of noise data ends, the process proceeds to step S101.

ステップS101では、撮像素子24に被写体を撮像させて1フレームの画像信号を生成させる。なお、後述するように、撮像素子24の露光時間は1/60sに設定されている。1フレームの画像信号を生成すると、ステップS102に進む。   In step S101, the image pickup device 24 picks up an image of a subject and generates a one-frame image signal. As will be described later, the exposure time of the image sensor 24 is set to 1/60 s. When one frame image signal is generated, the process proceeds to step S102.

ステップS102では、ステップS101で生成させた画像信号からFPN成分を除去する。すなわち、画像信号をA/D変換した画像データを構成する各撮像画素データから、ステップS200においてDRAM27に格納したノイズデータを減じることにより、各撮像画素データ固有のFPN成分を除去する。全撮像画素データのFPN成分を除去すると、ステップS103に進む。   In step S102, the FPN component is removed from the image signal generated in step S101. That is, the noise data stored in the DRAM 27 in step S200 is subtracted from each imaging pixel data constituting the image data obtained by A / D converting the image signal, thereby removing the FPN component unique to each imaging pixel data. When the FPN component of all the imaging pixel data is removed, the process proceeds to step S103.

ステップS103では、色補間処理やガンマ処理などの所定の画像処理を、FPN成分を除去した画像データに施す。所定の画像処理を施すとステップS104に進み、動画表示を終了するコマンドが入力されているか否かを判別する。   In step S103, predetermined image processing such as color interpolation processing and gamma processing is performed on the image data from which the FPN component has been removed. When predetermined image processing is performed, the process proceeds to step S104, and it is determined whether or not a command for ending the moving image display is input.

動画表示を終了するコマンドが入力されていない場合には、ステップS101に戻り、動画表示を終了するコマンドが入力されるまでステップS101〜ステップS104を繰返す。動画表示を終了するコマンドが入力されている場合に、FPN成分除去の処理を終了する。   When the command for ending the moving image display has not been input, the process returns to step S101, and steps S101 to S104 are repeated until the command for ending the moving image display is input. When the command for ending the moving image display is input, the FPN component removal processing is ended.

次に、ノイズデータ生成のサブルーチンについて説明する。前述のように、電子内視鏡20の起動後(ステップS100)、ノイズデータ生成のサブルーチンを開始する。ステップS201において、撮像素子24の露光時間を200nsに設定する。撮像素子24の露光時間の設定後、ステップS202に進む。   Next, a noise data generation subroutine will be described. As described above, after activation of the electronic endoscope 20 (step S100), a noise data generation subroutine is started. In step S201, the exposure time of the image sensor 24 is set to 200 ns. After setting the exposure time of the image sensor 24, the process proceeds to step S202.

ステップS202では、撮像素子24に被写体を撮像させて1フレームの画像信号を生成させる。次のステップS203では、画像信号をA/D変換した画像データを構成する擬似黒色画素データおよび黒色画素データをDRAM27に格納する。1フレームの画像データを構成するすべての擬似黒色画素データおよび黒色画素データをDRAM27に格納すると、ステップS204に進む。   In step S <b> 202, the image pickup device 24 picks up an image of the subject to generate one frame of image signal. In the next step S203, pseudo black pixel data and black pixel data constituting image data obtained by A / D converting the image signal are stored in the DRAM 27. When all the pseudo black pixel data and black pixel data constituting one frame of image data are stored in the DRAM 27, the process proceeds to step S204.

ステップS204では、DRAM27から全擬似黒色画素データおよび全黒色画素データを読出し、それぞれの輝度データ成分を平均化することにより、平均擬似黒色データおよび平均黒色データを生成する。平均化の完了後、ステップS205に進む。   In step S204, all pseudo black pixel data and all black pixel data are read from the DRAM 27, and average luminance data components are averaged to generate average pseudo black data and average black data. After the averaging is completed, the process proceeds to step S205.

ステップS205では、ステップS204で生成した平均擬似黒色データと平均黒色データのデータレベルの差が第1の閾値未満であるか否かを判別する。差が第1の閾値を超える場合には、ステップS206に進む。一方、差が第1の閾値未満である場合には、ステップS207に進む。   In step S205, it is determined whether or not the difference in data level between the average pseudo black data generated in step S204 and the average black data is less than a first threshold value. If the difference exceeds the first threshold, the process proceeds to step S206. On the other hand, if the difference is less than the first threshold, the process proceeds to step S207.

ステップS206では、直近のステップS203でDRAM27に格納した擬似黒色画素データおよび擬似黒色データを消去する。データの消去後、ステップS202に戻る。以後、ステップS205においてデータレベルの差が第1の閾値未満になるまで、ステップS202〜ステップS206の処理を繰返す。   In step S206, the pseudo black pixel data and the pseudo black data stored in the DRAM 27 in the most recent step S203 are erased. After erasing data, the process returns to step S202. Thereafter, the processing from step S202 to step S206 is repeated until the data level difference becomes less than the first threshold value in step S205.

ステップS207では、20フレームの画像データがDRAM27に格納されているか否かを判別する。20フレームの画像データを格納していない場合には、ステップS202に戻る。以後、ステップS207において20フレームの画像データを格納していると判別するまでステップS202〜ステップS207の処理を繰返す。20フレームの画像データを格納している場合には、ステップS208に進む。   In step S207, it is determined whether or not 20 frames of image data are stored in the DRAM 27. If 20 frames of image data are not stored, the process returns to step S202. Thereafter, the processing from step S202 to step S207 is repeated until it is determined in step S207 that 20 frames of image data are stored. If 20 frames of image data are stored, the process proceeds to step S208.

ステップS208では、DRAM27に格納された20フレームの画像信号を構成する擬似黒色画素データを有効画素24a毎に平均化させる。平均化して生成させたノイズデータをDRAM27に格納する。ノイズデータの格納後、ステップS209に進む。   In step S208, the pseudo black pixel data constituting the 20-frame image signal stored in the DRAM 27 is averaged for each effective pixel 24a. The noise data generated by averaging is stored in the DRAM 27. After storing the noise data, the process proceeds to step S209.

ステップS209では、撮像素子24の露光時間を1/60sに設定する。撮像素子24の露光時間の設定後、前述のようにステップS101に進む。   In step S209, the exposure time of the image sensor 24 is set to 1/60 s. After setting the exposure time of the image sensor 24, the process proceeds to step S101 as described above.

以上のような第1の実施形態を適用した固定パターンノイズ除去ユニットによれば、メカニカルシャッタや不揮発性メモリを設けること無く、FPNを除去することが可能になる。   According to the fixed pattern noise removal unit to which the first embodiment as described above is applied, it is possible to remove the FPN without providing a mechanical shutter or a nonvolatile memory.

また、前述のように、擬似黒色画素信号を生成するときの撮像素子24への入射光量が大きいときには、露光時間を短くして生成させた擬似黒色画素信号を用いてもFPNを高い精度で除去することが困難であった。しかし、本実施形態の固定パターンノイズ除去ユニットでは、黒色画素24bが生成する黒色信号に基づいて、擬似黒色画素信号を固定パターンノイズの除去に用いることが適当か否かを判別しているので、高い精度で固定パターンノイズを除去することが可能である。   Further, as described above, when the amount of incident light on the image sensor 24 is large when generating the pseudo black pixel signal, the FPN can be removed with high accuracy even if the pseudo black pixel signal generated by shortening the exposure time is used. It was difficult to do. However, in the fixed pattern noise removal unit of the present embodiment, it is determined whether or not it is appropriate to use the pseudo black pixel signal for removing the fixed pattern noise based on the black signal generated by the black pixel 24b. It is possible to remove fixed pattern noise with high accuracy.

次に本発明の第2の実施形態を適用した固定パターンノイズ除去ユニットについて説明する。第2の実施形態は、ノイズデータの生成方法が第1の実施形態と異なっている。以下、第1の実施形態と異なる部位を中心に、第2の実施形態について説明する。なお、同じ機能を有する部位には、同じ符号を付す。   Next, a fixed pattern noise removing unit to which the second embodiment of the present invention is applied will be described. The second embodiment is different from the first embodiment in the generation method of noise data. Hereinafter, the second embodiment will be described with a focus on portions different from the first embodiment. In addition, the same code | symbol is attached | subjected to the site | part which has the same function.

第2の実施形態の電子内視鏡の画像処理部およびDRAM以外の部位の構成および機能は、第1の実施形態の電子内視鏡と同じである。また、第2の実施形態において内視鏡プロセッサおよびモニタは、第1の実施形態の内視鏡プロセッサとモニタと同一である。   Configurations and functions of parts other than the image processing unit and DRAM of the electronic endoscope of the second embodiment are the same as those of the electronic endoscope of the first embodiment. In the second embodiment, the endoscope processor and the monitor are the same as the endoscope processor and the monitor in the first embodiment.

第2の実施形態の画像処理部の構成および機能とともに、画像処理部において実行されるFPN除去について説明する。図6に示すように、画像処理部300は、領域平均化回路310、判別回路320、フレーム平均化回路33、FPN補正回路34、および一般画像処理回路35等によって構成される。   A description will be given of FPN removal executed in the image processing unit, along with the configuration and functions of the image processing unit of the second embodiment. As shown in FIG. 6, the image processing unit 300 includes a region averaging circuit 310, a determination circuit 320, a frame averaging circuit 33, an FPN correction circuit 34, a general image processing circuit 35, and the like.

第1の実施形態と同じく、FPN除去の前に画像処理部300によりノイズデータが生成される。第1の実施形態と同じく、ノイズデータの生成のためにタイミングコントローラ28は200nsの露光時間で撮像素子24に画像信号を生成させる。   Similar to the first embodiment, noise data is generated by the image processing unit 300 before the FPN removal. As in the first embodiment, the timing controller 28 causes the image sensor 24 to generate an image signal with an exposure time of 200 ns in order to generate noise data.

画像信号をA/D変換した画像データを構成する擬似黒色画素データおよび黒色画素データが領域平均化回路310に送信される。第1の実施形態と同じく、領域平均化回路310は受信した擬似黒色画素データおよび黒色画素データをDRAM27に格納させる。   The pseudo black pixel data and black pixel data constituting the image data obtained by A / D converting the image signal are transmitted to the area averaging circuit 310. As in the first embodiment, the area averaging circuit 310 stores the received pseudo black pixel data and black pixel data in the DRAM 27.

第1の実施形態と異なり、1フレームの画像データを構成する擬似黒色画素データおよび黒色画素データがDRAM27に格納されると、領域平均化回路310により一部の擬似黒色画素データが読出され、輝度データ成分が平均化される。   Unlike the first embodiment, when the pseudo black pixel data and the black pixel data constituting one frame of image data are stored in the DRAM 27, a part of the pseudo black pixel data is read out by the area averaging circuit 310, and the luminance Data components are averaged.

領域平均化回路310が読出す一部の擬似黒色画素データについて説明する。有効画素領域AAを縦横16×16の256個に分類した第1〜第256の小領域が定められる。第1の小領域に配置される有効画素24aの擬似黒色画素データが領域平均化回路310に読出され、輝度データ成分が平均化される。なお、第1の実施形態と同じく、領域平均化回路310は1フレームの画像信号を構成する全黒色画素データを読み出して、輝度データ成分の平均化も行なう。   A part of the pseudo black pixel data read by the area averaging circuit 310 will be described. First to 256 sub-regions are defined by classifying the effective pixel region AA into 256 pixels of 16 × 16. The pseudo black pixel data of the effective pixels 24a arranged in the first small area is read out to the area averaging circuit 310, and the luminance data components are averaged. As in the first embodiment, the area averaging circuit 310 reads out all black pixel data constituting an image signal of one frame and averages luminance data components.

平均化された第1の小領域の擬似黒色画素データの輝度成分である第1の平均擬似黒色データと、平均化された黒色画素データの輝度データ成分である平均黒色データとが、判別回路320に送信される。第1の実施形態と同様に、判別回路320では第1の平均擬似黒色データと平均黒色データと塗データレベルの差が第2の閾値未満であるか否かが判別される。なお、第2の閾値は第1の閾値より小さな値に設定される。   The first average pseudo black data, which is the luminance component of the averaged pseudo black pixel data of the first small area, and the average black data, which is the luminance data component of the averaged black pixel data, are determined by the determination circuit 320. Sent to. As in the first embodiment, the determination circuit 320 determines whether or not the difference between the first average pseudo black data, the average black data, and the paint data level is less than the second threshold value. Note that the second threshold is set to a value smaller than the first threshold.

第1の平均擬似黒色データと平均黒色データとのデータレベルの差が第2の閾値を超える場合には、第1の小領域に配置される有効画素24aの擬似黒色画素データが、DRAM27から消去される。第1の平均擬似黒色データと平均黒色データとのデータレベルの差が第2の閾値未満である場合には、第1の小領域に配置される有効画素24aの擬似黒色画素データは、そのままDRAM27に格納される。   When the difference in data level between the first average pseudo black data and the average black data exceeds the second threshold value, the pseudo black pixel data of the effective pixel 24a arranged in the first small area is erased from the DRAM 27. Is done. When the difference between the data levels of the first average pseudo black data and the average black data is less than the second threshold value, the pseudo black pixel data of the effective pixels 24a arranged in the first small area is directly used as the DRAM 27. Stored in

第1の小領域に対応する第1の平均擬似黒色データと同様にして、第2〜第256の小領域に対応する第2〜第256の平均擬似黒色データが生成され、小領域毎に擬似黒色画素データを消去するか否かが判別される。   Similar to the first average pseudo black data corresponding to the first small area, second to 256 average pseudo black data corresponding to the second to 256 small areas are generated, and the pseudo average black data is generated for each small area. It is determined whether or not the black pixel data is erased.

第1の実施形態と同様に、全小領域に対応する平均擬似黒色データに対して判別回路320による判別を完了すると、タイミングコントローラ28は再び200nsの露光時間で撮像素子24に画像信号を生成させる。   As in the first embodiment, when the discrimination by the discrimination circuit 320 is completed for the average pseudo black data corresponding to all small regions, the timing controller 28 causes the image sensor 24 to generate an image signal again with an exposure time of 200 ns. .

以後、判別回路320に消去されない各小領域の擬似黒色画素データが20フレームになるまで、DRAM27への格納、領域平均化回路310における平均化、および判別回路320による判別が行なわれる。判別回路320により消去されない各小領域の擬似黒色画素データが20フレームになると、200nsの露光時間による撮像が停止される。   Thereafter, until the pseudo black pixel data of each small area not erased by the discrimination circuit 320 reaches 20 frames, storage in the DRAM 27, averaging in the area averaging circuit 310, and discrimination by the discrimination circuit 320 are performed. When the pseudo black pixel data of each small area that is not erased by the determination circuit 320 reaches 20 frames, imaging with an exposure time of 200 ns is stopped.

第1の実施形態と同じく、フレーム平均化回路33により、DRAM27に格納されたすべての擬似黒色画素データが読出される。第1の実施形態と同じく、フレーム平均化回路33により、同じ有効画素24aに対応しフレームの異なる20の擬似黒色画素データが平均化され、ノイズデータが生成される。第1の実施形態と同じく、生成したノイズデータはDRAM27に格納される。   As in the first embodiment, the frame averaging circuit 33 reads out all the pseudo black pixel data stored in the DRAM 27. Similar to the first embodiment, the frame averaging circuit 33 averages 20 pseudo black pixel data of different frames corresponding to the same effective pixel 24a, and generates noise data. As in the first embodiment, the generated noise data is stored in the DRAM 27.

第1の実施形態と同じく、ノイズデータがDRAM27に格納されると、タイミングコントローラ28は1/60sの露光時間で撮像素子24に画像信号を生成させる。また、第1の実施形態と同じく、1フレームの画像信号を構成する各有効画素信号が順番にA/Dコンバータ25を介して、画像処理部300に送信される。   As in the first embodiment, when noise data is stored in the DRAM 27, the timing controller 28 causes the image sensor 24 to generate an image signal with an exposure time of 1/60 s. Similarly to the first embodiment, each effective pixel signal constituting one frame of the image signal is sequentially transmitted to the image processing unit 300 via the A / D converter 25.

第1の実施形態と同じく、露光時間が1/60sの場合には、生成されA/D変換された撮像画素データは、FPN補正回路34に送信される。第1の実施形態と同じく、DRAM27に格納された各有効画素24a固有のノイズデータを撮像画素データから減じることにより、FPN成分が除去される。   As in the first embodiment, when the exposure time is 1/60 s, the generated and A / D converted imaging pixel data is transmitted to the FPN correction circuit 34. As in the first embodiment, the FPN component is removed by subtracting noise data unique to each effective pixel 24a stored in the DRAM 27 from the imaging pixel data.

次に、タイミングコントローラ28および画像処理部300によって行われるノイズデータ作成の処理および撮像画素データからのFPN成分の除去の処理を図7、図8のフローチャートを用いて説明する。   Next, noise data creation processing and FPN component removal processing from the imaging pixel data performed by the timing controller 28 and the image processing unit 300 will be described with reference to the flowcharts of FIGS.

図7は、FPN成分の除去の処理を説明するためのフローチャートである。図8は、ノイズデータ生成のサブルーチンを説明するためのフローチャートである。FPN成分の除去の処理は、電子内視鏡システム10の電源をONにするときに開始される。   FIG. 7 is a flowchart for explaining the process of removing the FPN component. FIG. 8 is a flowchart for explaining a subroutine for generating noise data. The process of removing the FPN component is started when the electronic endoscope system 10 is turned on.

ステップS300において電子内視鏡20を起動させると、ステップS400に進み、各有効画素24a固有のノイズデータを生成させる。ノイズデータの生成が終わるとステップS301に進む。以後、第1の実施形態におけるステップS101〜ステップS104と同じ処理をステップS301〜ステップS304で実行する。   When the electronic endoscope 20 is activated in step S300, the process proceeds to step S400, and noise data unique to each effective pixel 24a is generated. When the generation of noise data ends, the process proceeds to step S301. Thereafter, the same processing as Steps S101 to S104 in the first embodiment is executed in Steps S301 to S304.

次に、ノイズデータ生成のサブルーチンについて説明する。第1の実施形態と同じく、電子内視鏡20の起動後(ステップS300)、ノイズデータ生成のサブルーチンを開始する。ステップS401〜ステップS403では、第1の実施形態におけるステップS201〜ステップS203と同じ処理を実行する。   Next, a noise data generation subroutine will be described. As in the first embodiment, after the electronic endoscope 20 is activated (step S300), a noise data generation subroutine is started. In steps S401 to S403, the same processing as in steps S201 to S203 in the first embodiment is executed.

ステップS404では、DRAM27から全黒色画素データを読出し、輝度データ成分を平均化することにより平均黒色データを生成する。平均黒色データの生成後ステップS405に進み、平均擬似黒色データを生成する小領域の番号nを1に設定する。小領域の番号nの設定後、ステップS406に進む。   In step S404, all black pixel data is read from the DRAM 27, and the average black data is generated by averaging the luminance data components. After the generation of the average black data, the process proceeds to step S405, and the number n of the small area for generating the average pseudo black data is set to 1. After setting the small area number n, the process proceeds to step S406.

ステップS406では、DRAM27から第nの小領域に配置された全有効画素24aの擬似黒色画素データを読出し、輝度データ成分を平均化することにより第nの平均擬似黒色データを生成する。平均擬似黒色データの生成後ステップS407に進む。   In step S406, the pseudo-black pixel data of all the effective pixels 24a arranged in the n-th small area is read from the DRAM 27, and the luminance data component is averaged to generate the n-th average pseudo-black data. After the generation of the average pseudo black data, the process proceeds to step S407.

ステップS407では、第nの平均擬似黒色データと平均黒色データとのデータレベルの差が第2の閾値未満であるか否かを判別する。差が第2の閾値を超える場合には、ステップS408に進む。差が第2の閾値未満である場合には、ステップS408をスキップしてステップS409に進む。   In step S407, it is determined whether or not the difference in data level between the nth average pseudo black data and the average black data is less than a second threshold value. If the difference exceeds the second threshold, the process proceeds to step S408. If the difference is less than the second threshold, step S408 is skipped and the process proceeds to step S409.

ステップS408では、第nの小領域に配置された有効画素24aの擬似黒色画素データであって直近のステップS403で格納した擬似黒色画素データを消去する。擬似黒色画素データの消去後、ステップS409に進む。   In step S408, the pseudo black pixel data of the effective pixel 24a arranged in the nth small area and stored in the latest step S403 is erased. After erasing the pseudo black pixel data, the process proceeds to step S409.

ステップS409では、小領域の番号nが256であるか否かを判別する。nが256で無い場合にはステップS410に進み、nに1を加えてステップS406に戻る。以後、ステップS409においてnが256になるまで、ステップS406〜ステップS410の処理を繰返す。ステップS409においてnが256である場合には、ステップS411に進む。   In step S409, it is determined whether the small area number n is 256 or not. If n is not 256, the process proceeds to step S410, 1 is added to n, and the process returns to step S406. Thereafter, the processes in steps S406 to S410 are repeated until n becomes 256 in step S409. If n is 256 in step S409, the process proceeds to step S411.

ステップS411では、全小領域において20フレームの擬似黒色画素データがDRAM27に格納されているか否かを判別する。20フレームの擬似黒色画素データが格納されていない小領域がある場合には、ステップS402に戻る。以後、全小領域において20フレームの擬似黒色画素データが格納されるまで、ステップS402〜ステップS411の処理を繰返す。全小領域において20フレームの擬似黒色画素データを格納している場合には、ステップS412に進む。   In step S411, it is determined whether or not 20 frames of pseudo black pixel data are stored in the DRAM 27 in all small areas. If there is a small region in which 20 frames of pseudo black pixel data are not stored, the process returns to step S402. Thereafter, the processing from step S402 to step S411 is repeated until 20 frames of pseudo black pixel data are stored in all small areas. If pseudo black pixel data of 20 frames is stored in all small areas, the process proceeds to step S412.

ステップS412、ステップS413では、第1の実施形態におけるステップS208、ステップS209と同じ処理を実行し、ノイズデータの生成およびDRAM27への格納、1/60sへの露光時間の設定を行なう。露光時間の設定後、第1の実施形態と同様に、ステップS301に進む。   In step S412, step S413, the same processing as in step S208 and step S209 in the first embodiment is executed to generate noise data, store it in the DRAM 27, and set the exposure time to 1 / 60s. After the exposure time is set, the process proceeds to step S301 as in the first embodiment.

以上のような第2の実施形態を適用した固定パターンノイズ除去ユニットによっても、メカニカルシャッタや不揮発性メモリを設けること無く、FPNを高い精度で除去することが可能である。   Even with the fixed pattern noise removing unit to which the second embodiment as described above is applied, it is possible to remove the FPN with high accuracy without providing a mechanical shutter or a nonvolatile memory.

また、本実施形態によれば、有効画素領域AAにおいて部分的に入射光量が大きくても、効率的にノイズデータを生成することが可能になる。例えば、有効画素領域AAにおいて部分的に入射光量が大きい場合において、他の領域の擬似黒色画素データは受光量成分を含んでいなくてもノイズデータの生成に用いることが出来ないことがある。しかし、本実施形態によれば、小領域毎にノイズデータの作成に用いるか否かを判別するので、ノイズデータ生成の高速化が図られる。   Further, according to the present embodiment, it is possible to efficiently generate noise data even when the amount of incident light is partially large in the effective pixel area AA. For example, when the amount of incident light is partially large in the effective pixel area AA, the pseudo black pixel data in the other area may not be used for generating noise data even if it does not contain a received light amount component. However, according to the present embodiment, since it is determined whether or not to use noise data for each small region, the speed of noise data generation can be increased.

なお、第1、第2の実施形態において、平均黒色データと平均擬似黒色データとのデータレベルの差が第1、第2の閾値を超えると場合に、擬似黒色画素データをDRAM27から消去してノイズデータの生成から除外する構成であるが、黒色画素データに基づいて擬似黒色画素データに含まれる受光量成分が十分に小さいか否かを判別すれば他の方法により判別してもよい。   In the first and second embodiments, when the difference in data level between the average black data and the average pseudo black data exceeds the first and second threshold values, the pseudo black pixel data is erased from the DRAM 27. Although it is a configuration excluded from the generation of noise data, it may be determined by other methods as long as it is determined whether the received light amount component included in the pseudo black pixel data is sufficiently small based on the black pixel data.

また、第1、第2の実施形態において、20フレームの擬似黒色画素データを平均化することによりノイズデータを生成する構成であるが、平均化するフレーム数は20に限定されない。単一の擬似黒色画素データをノイズデータとしてもよい。ただし、ノイズデータを作成するための擬似黒色画素データが多くなるほど、ノイズデータの精度が向上する。   In the first and second embodiments, noise data is generated by averaging 20 frames of pseudo black pixel data. However, the number of frames to be averaged is not limited to 20. Single pseudo black pixel data may be used as noise data. However, the accuracy of the noise data improves as the pseudo black pixel data for generating the noise data increases.

また、第1、第2の実施形態において、20フレームの擬似黒色画素データを平均化することによりノイズデータを生成する構成であるが、ノイズデータの生成方法は平均化に限られない。擬似黒色画素データを用いる他の方法によりノイズデータを生成してもよい。   In the first and second embodiments, noise data is generated by averaging 20 frames of pseudo black pixel data. However, the method of generating noise data is not limited to averaging. Noise data may be generated by other methods using pseudo black pixel data.

また、第1の実施形態においては有効画素領域AAの全有効画素の擬似黒色画素データを平均化して、第2の実施形態においては有効画素領域AAを複数の小領域に分割して小領域毎に擬似黒色画素データを平均化して、受光量成分が十分に小さいか否かを判別する構成であるが、有効画素24a毎に行なってもよい。   Further, in the first embodiment, the pseudo black pixel data of all effective pixels in the effective pixel area AA is averaged, and in the second embodiment, the effective pixel area AA is divided into a plurality of small areas and each small area is divided. The pseudo black pixel data is averaged to determine whether or not the received light amount component is sufficiently small, but may be performed for each effective pixel 24a.

また、第1、第2の実施形態において、全黒色画素データを用いて平均黒色データを生成する構成であるが、一部の黒色画素データを用いて生成してもよいし、単一の黒色画素データを平均黒色データとして判別回路32における判別に用いてもよい。ただし、多くの黒色画素データを用いて平均黒色データを生成することにより、高い精度でFPNを除去することが可能である。   In the first and second embodiments, the average black data is generated using all black pixel data. However, the average black data may be generated using a part of black pixel data, or a single black data may be generated. The pixel data may be used for determination in the determination circuit 32 as average black data. However, it is possible to remove the FPN with high accuracy by generating average black data using a lot of black pixel data.

また、第1、第2の実施形態において、ノイズデータ生成のために撮像素子24に設定可能な最短の露光時間で撮像するように撮像素子24を駆動する構成であるが、積算露光量が黒色であるときの値と見做せる露光時間に設定されてもよい。積算露光量は被写体そのものの輝度にも影響されるので、少なくとも通常撮影が可能な露光時間より短い露光時間で撮像されれば、ノイズデータの生成に用いることが可能となり得る。   In the first and second embodiments, the image sensor 24 is driven so as to capture an image with the shortest exposure time that can be set in the image sensor 24 to generate noise data. However, the integrated exposure amount is black. It may be set to an exposure time that can be regarded as a value when. Since the integrated exposure amount is also affected by the luminance of the subject itself, it can be used for generation of noise data if the image is taken with an exposure time that is at least shorter than the exposure time during which normal photographing is possible.

また、第1、第2の実施形態において、ノイズデータの生成およびDRAM27への格納は、電子内視鏡20の起動直後であるが、何時であってもよい。例えば、動画の撮像中、すなわち2連続する1/60sの露光時間による撮像の間にノイズデータの生成処理を実行してもよい。さらには、入力部43へのノイズデータ生成のコマンド入力に基づいて、ノイズデータの生成を実行してもよい。   Further, in the first and second embodiments, the generation of the noise data and the storage in the DRAM 27 are immediately after the activation of the electronic endoscope 20, but any time may be used. For example, noise data generation processing may be executed during imaging of a moving image, that is, during imaging with an exposure time of two consecutive 1/60 seconds. Furthermore, noise data generation may be executed based on a noise data generation command input to the input unit 43.

また、第1、第2の実施形態において、固定パターンノイズ除去ユニットは電子内視鏡システムに適用される構成であるが、デジタルスチルカメラやデジタルビデオカメラなどの他の撮像装置に適用されてもよい。   In the first and second embodiments, the fixed pattern noise removal unit is configured to be applied to an electronic endoscope system, but may be applied to other imaging devices such as a digital still camera and a digital video camera. Good.

また、第1、第2の実施形態において、撮像素子24はCMOS撮像素子であるが、各画素にアンプが設けられ、画素固有の固定パターンノイズが生じる他の種類の撮像素子に対しても適用可能である。   In the first and second embodiments, the image sensor 24 is a CMOS image sensor. However, the present invention is also applicable to other types of image sensors in which an amplifier is provided in each pixel and fixed pattern noise unique to the pixel occurs. Is possible.

本発明の第1の実施形態を適用した固定パターンノイズ除去ユニットを有する電子内視鏡システムの内部構成を概略的に示すブロック図である。1 is a block diagram schematically showing an internal configuration of an electronic endoscope system having a fixed pattern noise removal unit to which a first embodiment of the present invention is applied. FIG. 撮像素子の受光面の構成を説明するための平面図である。It is a top view for demonstrating the structure of the light-receiving surface of an image pick-up element. 第1の実施形態の画像処理部の内部構成を概略的に示すブロック図である。It is a block diagram which shows roughly the internal structure of the image process part of 1st Embodiment. 第1の実施形態におけるFPN成分の除去の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the removal of the FPN component in 1st Embodiment. 第1の実施形態におけるノイズデータ生成のサブルーチンを説明するためのフローチャートである。It is a flowchart for demonstrating the subroutine of noise data generation in 1st Embodiment. 第2の実施形態の画像処理部の内部構成を概略的に示すブロック図である。It is a block diagram which shows roughly the internal structure of the image process part of 2nd Embodiment. 第2の実施形態におけるFPN成分の除去の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the removal of FPN component in 2nd Embodiment. 第2の実施形態におけるノイズデータ生成のサブルーチンを説明するためのフローチャートである。It is a flowchart for demonstrating the subroutine of noise data generation in 2nd Embodiment.

符号の説明Explanation of symbols

10 電子内視鏡システム
20 電子内視鏡
24 撮像素子
24a、24b 有効画素、黒色画素
25 A/Dコンバータ
27 DRAM
28 タイミングコントローラ
30、300 画像処理部
31、310 領域平均化回路
32、320 判別回路
33 フレーム平均化回路
34 FPN補正回路
40 内視鏡プロセッサ
43 入力部
AA 有効画素領域
BA OB領域
DESCRIPTION OF SYMBOLS 10 Electronic endoscope system 20 Electronic endoscope 24 Image pick-up element 24a, 24b Effective pixel, black pixel 25 A / D converter 27 DRAM
28 Timing controller 30, 300 Image processing unit 31, 310 Area averaging circuit 32, 320 Discrimination circuit 33 Frame averaging circuit 34 FPN correction circuit 40 Endoscope processor 43 Input unit AA Effective pixel area BA OB area

Claims (21)

受光量に応じた画素信号を生成する複数の画素を有する撮像素子から、受光面が遮光された前記画素である黒色画素が生成する前記画素信号である黒色画素信号と、前記黒色画素以外の前記画素である有効画素が生成する前記画素信号である有効画素信号とを受信する受信部と、
前記撮像素子における前記画素の露光時間を第1の露光時間または前記第1の露光時間より短い第2の露光時間に切替えることにより、前記第1の露光時間における受光量に応じた前記有効画素信号である撮像画素信号または前記第2の露光時間における受光量に応じた前記有効画素信号である擬似黒色画素信号を生成させる撮像素子制御部と、
前記黒色画素信号に基づいて、前記擬似黒色画素信号を対応する前記有効画素における固定パターンノイズと見做せるか否かを判別する判別部と、
前記判別部により前記固定パターンノイズと見做された前記擬似黒色画素信号をノイズ信号として格納するメモリと、
前記撮像画素信号から前記ノイズ信号を減じる減算部とを備える
ことを特徴とする固定パターンノイズ除去ユニット。
A black pixel signal that is the pixel signal generated by the black pixel that is the pixel with the light-receiving surface shielded from an imaging element that generates a pixel signal corresponding to the amount of received light, and the non-black pixel A receiving unit that receives an effective pixel signal that is the pixel signal generated by an effective pixel that is a pixel; and
The effective pixel signal corresponding to the amount of light received in the first exposure time by switching the exposure time of the pixel in the image sensor to a first exposure time or a second exposure time shorter than the first exposure time. An image sensor control unit that generates an image pickup pixel signal or a pseudo black pixel signal that is the effective pixel signal according to the amount of received light in the second exposure time;
A determination unit configured to determine whether the pseudo black pixel signal can be regarded as fixed pattern noise in the corresponding effective pixel based on the black pixel signal;
A memory that stores the pseudo black pixel signal regarded as the fixed pattern noise by the determination unit as a noise signal;
A fixed pattern noise removing unit comprising: a subtracting unit that subtracts the noise signal from the imaging pixel signal.
前記撮像素子制御部は、前記撮像素子に前記第2の露光時間の撮像を複数回実行させることにより、各有効画素に対応する複数の前記擬似黒色画素信号を生成させ、
前記減算部は、複数の前記擬似黒色画素信号の中で前記判別部により前記固定パターンノイズとして見做された前記擬似黒色画素信号に基づく前記ノイズ信号を、前記撮像画素信号から減じる
ことを特徴とする請求項1に記載の固定パターンノイズ除去ユニット。
The imaging element control unit causes the imaging element to perform imaging for the second exposure time a plurality of times, thereby generating a plurality of pseudo black pixel signals corresponding to each effective pixel,
The subtracting unit subtracts, from the imaging pixel signal, the noise signal based on the pseudo black pixel signal regarded as the fixed pattern noise by the discrimination unit among the plurality of pseudo black pixel signals. The fixed pattern noise removal unit according to claim 1.
前記判別部により前記固定パターンノイズと見做された複数の前記擬似黒色画素信号を前記有効画素毎に平均化する第1の平均化部を備え、
前記減算部は、前記第1の平均化部により平均化された前記擬似黒色画素信号を前記ノイズ信号として前記撮像画素信号から減じる
ことを特徴とする請求項2に記載の固定パターンノイズ除去ユニット。
A first averaging unit that averages the plurality of pseudo black pixel signals regarded as the fixed pattern noise by the determination unit for each effective pixel;
The fixed pattern noise removing unit according to claim 2, wherein the subtracting unit subtracts the pseudo black pixel signal averaged by the first averaging unit as the noise signal from the imaging pixel signal.
前記撮像素子制御部は、前記判別部により前記固定パターンノイズと見做される前記擬似黒色画素信号がm個(mは2以上の整数)になるまで前記撮像素子に前記第2の露光時間での撮像を繰返させ、
前記第1の平均化部は、前記固定パターンノイズと見做されたm個の前記擬似黒色画素信号を平均化する
ことを特徴とする請求項3に記載の固定パターンノイズ除去ユニット。
The image sensor control unit applies the second exposure time to the image sensor until the number of the pseudo black pixel signals regarded as the fixed pattern noise by the determination unit reaches m (m is an integer of 2 or more). Repeat the imaging of
The fixed pattern noise removal unit according to claim 3, wherein the first averaging unit averages the m pseudo black pixel signals regarded as the fixed pattern noise.
前記撮像素子に配置されるすべてまたは一部の前記有効画素に対応する前記擬似黒色画素信号を平均化することにより平均化信号を生成する第2の平均化部を備え、
前記判別部は、前記黒色画素信号に基づいて、前記平均化信号を前記固定パターンノイズと見做せるか否かを判別する
ことを特徴とする請求項1に記載の固定パターンノイズ除去ユニット。
A second averaging unit that generates an averaged signal by averaging the pseudo black pixel signals corresponding to all or a part of the effective pixels arranged in the image sensor;
The fixed pattern noise removal unit according to claim 1, wherein the determination unit determines whether the averaged signal can be regarded as the fixed pattern noise based on the black pixel signal.
前記撮像素子制御部は、前記撮像素子に前記第2の露光時間の撮像を複数回実行させることにより、各有効画素に対応する複数の前記擬似黒色画素信号を生成させ、
前記減算部は、前記判別部により前記固定パターンノイズと見做された前記平均化信号の生成に用いられた前記擬似黒色画素信号に基づく前記ノイズ信号を、前記撮像画素信号から減じる
ことを特徴とする請求項5に記載の固定パターンノイズ除去ユニット。
The imaging element control unit causes the imaging element to perform imaging for the second exposure time a plurality of times, thereby generating a plurality of pseudo black pixel signals corresponding to each effective pixel,
The subtracting unit subtracts the noise signal based on the pseudo black pixel signal used to generate the averaged signal regarded as the fixed pattern noise by the determining unit from the imaging pixel signal. The fixed pattern noise elimination unit according to claim 5.
前記判別部により前記固定パターンノイズと見做された前記平均化信号の生成に用いられた複数の前記擬似黒色画素信号を前記有効画素毎に平均化する第1の平均化部を備え、
前記減算部は、前記第1の平均化部により平均化された前記擬似黒色画素信号を前記ノイズ信号として前記撮像画素信号から減じる
ことを特徴とする請求項6に記載の固定パターンノイズ除去ユニット。
A first averaging unit that averages the plurality of pseudo black pixel signals used for generating the averaged signal regarded as the fixed pattern noise by the determination unit for each effective pixel;
The fixed pattern noise removing unit according to claim 6, wherein the subtracting unit subtracts the pseudo black pixel signal averaged by the first averaging unit from the imaging pixel signal as the noise signal.
前記撮像素子制御部は、前記判別部により前記固定パターンノイズと見做される前記平均化信号がm個(mは2以上の整数)になるまで前記撮像素子に前記第2の露光時間での撮像を繰返させ、
前記第1の平均化部は、前記固定パターンノイズと見做されたm個の前記平均化信号の生成に用いられた前記擬似黒色画素信号を平均化する
ことを特徴とする請求項7に記載の固定パターンノイズ除去ユニット。
The image sensor control unit applies the second exposure time to the image sensor until the averaged signal regarded as the fixed pattern noise by the determination unit reaches m (m is an integer of 2 or more). Repeat the imaging,
The said 1st averaging part averages the said pseudo | simulation black pixel signal used for the production | generation of the said m average signal considered as the said fixed pattern noise. Fixed pattern noise removal unit.
前記有効画素が配置された全領域の一部の領域である第1、第2の小領域における複数の前記有効画素に対応する前記擬似黒色画素信号を平均化することにより平均化信号を生成する第2の平均化部を備え、
前記判別部は、前記黒色画素信号に基づいて、前記平均化信号を前記固定パターンノイズと見做せるか否かを、前記第1、第2の小領域毎に判別する
ことを特徴とする請求項1に記載の固定パターンノイズ除去ユニット。
An averaged signal is generated by averaging the pseudo black pixel signals corresponding to the plurality of effective pixels in the first and second small regions which are partial regions of the entire region where the effective pixels are arranged. A second averaging unit,
The determination unit determines, for each of the first and second small regions, whether or not the averaged signal can be regarded as the fixed pattern noise based on the black pixel signal. Item 4. The fixed pattern noise elimination unit according to Item 1.
前記撮像素子制御部は、前記撮像素子に前記第2の露光時間の撮像を複数回実行させることにより、各有効画素に対応する複数の前記擬似黒色画素信号を生成させ、
前記減算部は、前記判別部により前記固定パターンノイズと見做された前記平均化信号の生成に用いられた前記擬似黒色画素信号に基づく前記ノイズ信号を、前記撮像画素信号から減じる
ことを特徴とする請求項9に記載の固定パターンノイズ除去ユニット。
The imaging element control unit causes the imaging element to perform imaging for the second exposure time a plurality of times, thereby generating a plurality of pseudo black pixel signals corresponding to each effective pixel,
The subtracting unit subtracts the noise signal based on the pseudo black pixel signal used to generate the averaged signal regarded as the fixed pattern noise by the determining unit from the imaging pixel signal. The fixed pattern noise removal unit according to claim 9.
前記判別部により前記固定パターンノイズと見做された前記平均化信号の生成に用いられた複数の前記擬似黒色画素信号を前記有効画素毎に平均化する第1の平均化部を備え、
前記減算部は、前記第1の平均化部により平均化された前記擬似黒色画素信号を前記ノイズ信号として前記撮像画素信号から減じる
ことを特徴とする請求項10に記載の固定パターンノイズ除去ユニット。
A first averaging unit that averages the plurality of pseudo black pixel signals used for generating the averaged signal regarded as the fixed pattern noise by the determination unit for each effective pixel;
The fixed pattern noise removing unit according to claim 10, wherein the subtracting unit subtracts the pseudo black pixel signal averaged by the first averaging unit from the imaging pixel signal as the noise signal.
前記撮像素子制御部は、前記判別部により前記固定パターンノイズと見做される前記平均化信号が前記第1、第2の小領域毎にm個(mは2以上の整数)になるまで前記撮像素子に前記第2の露光時間での撮像を繰返させ、
前記第1の平均化部は、前記固定パターンノイズと見做されたm個の前記平均化信号の生成に用いられた前記擬似黒色画素信号を平均化する
ことを特徴とする請求項11に記載の固定パターンノイズ除去ユニット。
The image sensor control unit is configured such that the average signal, which is regarded as the fixed pattern noise by the determination unit, is m (m is an integer of 2 or more) for each of the first and second small regions. Causing the imaging device to repeat imaging at the second exposure time;
The first averaging unit averages the pseudo black pixel signals used to generate the m averaged signals regarded as the fixed pattern noise. Fixed pattern noise removal unit.
前記撮像素子に設けられる複数の前記黒色画素に対応する前記黒色画素信号を平均化する第3の平均化部を備え、
前記判別部は、前記第3の平均化部により平均化された前記黒色画素信号に基づいて、前記擬似黒色画素信号を前記固定パターンノイズと見做せるか否かを判別する
ことを特徴とする請求項1〜請求項12のいずれか1項に記載の固定パターンノイズ除去ユニット。
A third averaging unit that averages the black pixel signals corresponding to the plurality of black pixels provided in the imaging device;
The discriminating unit discriminates whether or not the pseudo black pixel signal can be regarded as the fixed pattern noise based on the black pixel signal averaged by the third averaging unit. The fixed pattern noise removal unit according to any one of claims 1 to 12.
前記撮像素子制御部は、前記固定パターンノイズ除去ユニットが設けられる撮像装置の起動時に、前記画素の露光時間を前記第2の露光時間に切替えて前記擬似黒色画素信号を生成させることを特徴とする請求項1〜請求項13のいずれか1項に記載の固定パターンノイズ除去ユニット。   The image sensor control unit is configured to generate the pseudo black pixel signal by switching an exposure time of the pixel to the second exposure time when an image pickup apparatus provided with the fixed pattern noise removal unit is started. The fixed pattern noise removal unit according to any one of claims 1 to 13. 前記撮像素子制御部は、前記画素の露光時間を前記第1の露光時間に切替えて連続的に前記撮像画素信号を生成し続けている間に、前記画素の露光時間を前記第2の露光時間に切替えて前記擬似黒色画素信号を生成させることを特徴とする請求項1〜請求項13のいずれか1項に記載の固定パターンノイズ除去ユニット。   The image sensor control unit switches the exposure time of the pixel to the first exposure time and continuously generates the imaged pixel signal while changing the exposure time of the pixel to the second exposure time. The fixed pattern noise removing unit according to claim 1, wherein the pseudo black pixel signal is generated by switching to the above. 前記擬似黒色画素信号を生成するコマンドを入力する入力部を備え、
前記入力部に前記擬似黒色画素信号を生成するコマンドが入力されるときに、前記撮像素子制御部は前記画素の露光時間を前記第2の露光時間に切替えて前記擬似黒色画素信号を生成させる
ことを特徴とする請求項1〜請求項13のいずれか1項に記載の固定パターンノイズ除去ユニット。
An input unit for inputting a command for generating the pseudo black pixel signal;
When the command for generating the pseudo black pixel signal is input to the input unit, the imaging element control unit switches the exposure time of the pixel to the second exposure time to generate the pseudo black pixel signal. The fixed pattern noise removal unit according to claim 1, wherein
前記判別部は、前記擬似黒色画素信号の輝度成分と前記黒色画素信号の輝度成分との差が閾値未満である場合に、前記擬似黒色画素信号を前記固定パターンノイズと見做すことを特徴とする請求項1〜請求項16のいずれか1項に記載の固定パターンノイズ除去ユニット。   The determination unit regards the pseudo black pixel signal as the fixed pattern noise when a difference between a luminance component of the pseudo black pixel signal and a luminance component of the black pixel signal is less than a threshold value. The fixed pattern noise removal unit according to any one of claims 1 to 16. 前記第2の露光時間は、前記有効画素への積算露光量が黒色に相当する積算露光量と見做せる時間未満に定められることを特徴とする請求項1〜請求項17のいずれか1項に記載の固定パターンノイズ除去ユニット。   18. The second exposure time is set to be less than a time when the integrated exposure amount to the effective pixel can be regarded as an integrated exposure amount corresponding to black. Fixed pattern noise elimination unit as described in 1. 前記第2の露光時間は、前記撮像素子に設定可能な最短の露光時間であることを特徴とする請求項1〜請求項17のいずれか1項に記載の固定パターンノイズ除去ユニット。   The fixed pattern noise removing unit according to any one of claims 1 to 17, wherein the second exposure time is a shortest exposure time that can be set in the imaging device. 受光量に応じた画素信号を生成する複数の画素を有し、受光面が遮光された前記画素である黒色画素が黒色画素信号を生成し、前記黒色画素以外の前記画素である有効画素が有効画素信号を生成する撮像素子と、
前記撮像素子における前記画素の露光時間を第1の露光時間または前記第1の露光時間より短い第2の露光時間に切替えることにより、前記第1の露光時間における受光量に応じた前記有効画素信号である撮像画素信号または前記第2の露光時間における受光量に応じた前記有効画素信号である擬似黒色画素信号を生成させる撮像素子制御部と、
前記黒色画素信号に基づいて、前記擬似黒色画素信号を対応する前記有効画素における固定パターンノイズと見做せるか否かを判別する判別部と、
前記判別部により前記固定パターンノイズと見做された前記擬似黒色画素信号をノイズ信号として格納するメモリと、
前記撮像画素信号から前記ノイズ信号を減じる減算部とを備える
ことを特徴とする撮像ユニット。
A black pixel that has a plurality of pixels that generate a pixel signal according to the amount of received light, the light receiving surface being shielded from light, generates a black pixel signal, and an effective pixel that is a pixel other than the black pixel is effective An image sensor that generates pixel signals;
The effective pixel signal corresponding to the amount of light received in the first exposure time by switching the exposure time of the pixel in the image sensor to a first exposure time or a second exposure time shorter than the first exposure time. An image sensor control unit that generates an image pickup pixel signal or a pseudo black pixel signal that is the effective pixel signal according to the amount of received light in the second exposure time;
A determination unit configured to determine whether the pseudo black pixel signal can be regarded as fixed pattern noise in the corresponding effective pixel based on the black pixel signal;
A memory that stores the pseudo black pixel signal regarded as the fixed pattern noise by the determination unit as a noise signal;
An imaging unit comprising: a subtraction unit that subtracts the noise signal from the imaging pixel signal.
請求項20に記載の撮像ユニットを有する電子内視鏡システム。   An electronic endoscope system comprising the imaging unit according to claim 20.
JP2008331807A 2008-12-26 2008-12-26 Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system Active JP5145210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008331807A JP5145210B2 (en) 2008-12-26 2008-12-26 Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008331807A JP5145210B2 (en) 2008-12-26 2008-12-26 Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system

Publications (2)

Publication Number Publication Date
JP2010154376A true JP2010154376A (en) 2010-07-08
JP5145210B2 JP5145210B2 (en) 2013-02-13

Family

ID=42572894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008331807A Active JP5145210B2 (en) 2008-12-26 2008-12-26 Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system

Country Status (1)

Country Link
JP (1) JP5145210B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04156076A (en) * 1990-10-19 1992-05-28 Olympus Optical Co Ltd Video signal processing system
JPH0983840A (en) * 1995-09-12 1997-03-28 Olympus Optical Co Ltd Signal read processing system for solid-state image pickup element
JPH10126697A (en) * 1996-10-17 1998-05-15 Sony Corp Solid-state image pickup element and signal processing method and camera therefor
JP2005311736A (en) * 2004-04-22 2005-11-04 Sony Corp Solid-state imaging apparatus and drive method of the solid-state imaging apparatus
JP2006121358A (en) * 2004-10-21 2006-05-11 Konica Minolta Holdings Inc Solid-state image pickup device
JP2008048244A (en) * 2006-08-18 2008-02-28 Matsushita Electric Ind Co Ltd Solid-state imaging device
JP2008085530A (en) * 2006-09-27 2008-04-10 Mitsubishi Electric Corp Infrared imaging apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04156076A (en) * 1990-10-19 1992-05-28 Olympus Optical Co Ltd Video signal processing system
JPH0983840A (en) * 1995-09-12 1997-03-28 Olympus Optical Co Ltd Signal read processing system for solid-state image pickup element
JPH10126697A (en) * 1996-10-17 1998-05-15 Sony Corp Solid-state image pickup element and signal processing method and camera therefor
JP2005311736A (en) * 2004-04-22 2005-11-04 Sony Corp Solid-state imaging apparatus and drive method of the solid-state imaging apparatus
JP2006121358A (en) * 2004-10-21 2006-05-11 Konica Minolta Holdings Inc Solid-state image pickup device
JP2008048244A (en) * 2006-08-18 2008-02-28 Matsushita Electric Ind Co Ltd Solid-state imaging device
JP2008085530A (en) * 2006-09-27 2008-04-10 Mitsubishi Electric Corp Infrared imaging apparatus

Also Published As

Publication number Publication date
JP5145210B2 (en) 2013-02-13

Similar Documents

Publication Publication Date Title
US7884868B2 (en) Image capturing element, image capturing apparatus, image capturing method, image capturing system, and image processing apparatus
JP5229224B2 (en) Imaging apparatus, imaging control method, and imaging control program
CN101656819B (en) Image capturing device, and smear reduction method
JP2007336343A (en) Image data correction device and image data correction method
JP5222068B2 (en) Imaging device
JP2007174266A (en) Imaging apparatus
JP2007019577A (en) Solid-state image pickup device
JP2002027300A (en) Digital camera
JP5124492B2 (en) Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system
US20100271518A1 (en) Solid-state imaging device and camera system
JP5145210B2 (en) Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system
JP2010193042A (en) Fixed-pattern noise removal unit, imaging unit, and electronic endoscope system
JP5124416B2 (en) Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system
JP5235804B2 (en) Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system
JP5147652B2 (en) Imaging apparatus, control method thereof, and program
KR101429512B1 (en) Apparatus and method for reducing banding noise
JP4777266B2 (en) Imaging apparatus and control method thereof
JP5366672B2 (en) Fixed pattern noise elimination unit, imaging unit, and electronic endoscope system
JP2006295666A (en) Noise elimination device
JP2010093631A (en) Imaging apparatus and method of controlling imaging apparatus
JP5311943B2 (en) Imaging apparatus, control method, and program
JP2009260871A (en) Imaging apparatus
JP2021016037A (en) Imaging device and method of controlling the same
JP4750511B2 (en) Imaging apparatus and control method thereof
JP2008048277A (en) Imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121107

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121113

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121126

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

Free format text: PAYMENT UNTIL: 20151130

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5145210

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250