JP2012011123A - Electronic endoscope apparatus - Google Patents

Electronic endoscope apparatus Download PDF

Info

Publication number
JP2012011123A
JP2012011123A JP2010152991A JP2010152991A JP2012011123A JP 2012011123 A JP2012011123 A JP 2012011123A JP 2010152991 A JP2010152991 A JP 2010152991A JP 2010152991 A JP2010152991 A JP 2010152991A JP 2012011123 A JP2012011123 A JP 2012011123A
Authority
JP
Japan
Prior art keywords
unit
data
pixel
error
main body
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
JP2010152991A
Other languages
Japanese (ja)
Other versions
JP2012011123A5 (en
JP5548054B2 (en
Inventor
Tomohiro Yokohama
智洋 横濱
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2010152991A priority Critical patent/JP5548054B2/en
Publication of JP2012011123A publication Critical patent/JP2012011123A/en
Publication of JP2012011123A5 publication Critical patent/JP2012011123A5/ja
Application granted granted Critical
Publication of JP5548054B2 publication Critical patent/JP5548054B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic endoscope apparatus restraining image quality deterioration caused by a transmission error while reducing the outer diameter of a distal end.SOLUTION: An imaging unit 11 provided at the distal end 10 images a subject and generates image signals. An A/D conversion unit 12 provided at the distal end 10 quantitizes the image signals and generates image data. An ECC encoding unit 13 provided at the distal end 10 encodes the image data using error correction codes and generates encoding data. An ECC decoding unit 21 provided at a body unit 20 corrects the transmission errors of the image data by decoding the encoding data. An image processing unit 22 provided at the body unit 20 corrects the transmission errors left in the image data after the correction made by the ECC decoding unit 21.

Description

本発明は、電子内視鏡装置に関する。   The present invention relates to an electronic endoscope apparatus.

近年、電子内視鏡装置にCMOS(Complementary Metal Oxide Semiconductor、相補型金属酸化膜半導体)撮像素子を搭載することが提案されている。CMOS撮像素子はCMOS LSI(Large Scale Integration、大規模集積回路)技術を用いて製造されるため、CMOS撮像素子にA/Dコンバータやその他の論理回路を混載して撮像ユニットを製造することができる。そのため、撮像素子の小型化が容易となる。   In recent years, it has been proposed to mount a CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide semiconductor) image sensor on an electronic endoscope apparatus. Since the CMOS image sensor is manufactured using a CMOS LSI (Large Scale Integration) technology, an A / D converter and other logic circuits can be mounted on the CMOS image sensor to manufacture an image pickup unit. . Therefore, it is easy to reduce the size of the image sensor.

CMOS撮像素子においては、撮像ユニット内で画像信号を量子化してデジタルデータとして出力されるため、電子内視鏡装置の先端部から本体部までデジタルデータで画像を伝送することにより、ノイズによる伝送中の画質劣化を抑えることが出来る。しかし、デジタルデータによる伝送は、アナログ画像信号の伝送と比較して信号線数が増加したり、伝送帯域が増大することにより信号線径が太くなるという問題がある。   In the CMOS image sensor, the image signal is quantized in the imaging unit and output as digital data. Therefore, the image is transmitted as digital data from the distal end portion of the electronic endoscope apparatus to the main body portion, so that noise is being transmitted. Image quality degradation can be suppressed. However, transmission using digital data has a problem that the number of signal lines is increased as compared with the transmission of analog image signals, and the signal line diameter is increased due to an increase in transmission band.

この問題を解決する方法として、RGB画像データをYCbCr画像信号に変換して、色差CbCr信号のビット数を減らすことで信号線数を減らす方法が知られている(例えば、特許文献1参照)。   As a method for solving this problem, there is known a method of reducing the number of signal lines by converting RGB image data into a YCbCr image signal and reducing the number of bits of the color difference CbCr signal (see, for example, Patent Document 1).

また、RGB画像データに誤り訂正符号(ECC、Error Check and Correct)を付加し、走査線1本ごとに存在するブランク区間内に付加した符号部分を伝送し、さらにPSK変調(Phase Shift Keying、位相偏移変調)によって信号線をまとめることで、信号線数の増大を押さえる方法が知られている(例えば、特許文献2参照)。   In addition, an error correction code (ECC, Error Check and Correct) is added to the RGB image data, the code portion added in the blank section existing for each scanning line is transmitted, and further, PSK modulation (Phase Shift Keying, Phase A method of suppressing an increase in the number of signal lines by combining signal lines by shift modulation is known (for example, see Patent Document 2).

また、誤り訂正符号によって符号化した画像データを伝送した後、受信側で誤り訂正を行い、誤り訂正が出来なかったデータの個数を送信側にフィードバックすることで、伝送路の伝送品質を撮影者に示す方法が知られている(例えば、特許文献3参照)。   In addition, after transmitting image data encoded with an error correction code, error correction is performed on the receiving side, and the number of data that could not be corrected is fed back to the transmitting side. Is known (for example, see Patent Document 3).

また、無線で画像データと関連データを送信する際に誤り訂正符号や巡回検査符号を使用して保護する方法が知られている(例えば、特許文献4参照)。   Further, a method of protecting an image data and related data by using an error correction code or a cyclic check code when transmitting the data wirelessly is known (for example, see Patent Document 4).

特開平5−316513号公報JP-A-5-316513 特開2008−200344号公報JP 2008-200344 A 特開2003−348391号公報JP 2003-348391 A 特開2007−330794号公報JP 2007-330794 A

しかしながら、上述した方法では、小型化を重視する場合においては、伝送速度を遅くして画質を落とす必要があるという問題がある。また、画質を維持するために伝送速度を速くする方法を用いると、信号線数や信号線径が大きくなり、先端部の外径が大きくなるという問題がある。また、画質を維持しつつ信号線数や伝送速度を減らすためには、搬送波生成部や画素バッファや高圧縮符号化部を先端部に持つ必要があるという問題がある。また、誤りを減らすために、長い情報ビットに長い冗長ビットを付加する大規模な誤り訂正符号化回路を先端部に持つ必要があり、回路規模の観点から先端部が大きくなるという問題がある。   However, the above-described method has a problem that it is necessary to reduce the image quality by reducing the transmission speed when downsizing is important. In addition, when a method of increasing the transmission speed in order to maintain the image quality is used, there is a problem that the number of signal lines and the signal line diameter increase, and the outer diameter of the distal end portion increases. Further, in order to reduce the number of signal lines and the transmission speed while maintaining the image quality, there is a problem that it is necessary to have a carrier wave generation unit, a pixel buffer, and a high compression encoding unit at the tip. In addition, in order to reduce errors, it is necessary to have a large-scale error correction coding circuit that adds long redundant bits to long information bits at the tip, and there is a problem that the tip becomes large from the viewpoint of circuit scale.

本発明は、上記事情に鑑みてなされたものであり、先端部の外径を小さくしつつ、伝送誤りによる画質劣化を抑えた電子内視鏡装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an electronic endoscope apparatus in which image quality deterioration due to a transmission error is suppressed while reducing the outer diameter of the distal end portion.

本発明は、先端部と、本体部と、前記先端部と前記本体部とを通信可能に接続する伝送部とからなる電子内視鏡装置であって、前記先端部に設けられ、被写体を撮像して画像信号を生成する撮像部と、前記先端部に設けられ、前記画像信号を量子化して画像データを生成するA/D変換部と、前記先端部に設けられ、誤り訂正符号を用いて前記画像データを符号化して符号化データを生成する符号化部と、前記本体部に設けられ、前記符号化データを復号化することにより前記画像データの伝送誤りを訂正する復号化部と、前記本体部に設けられ、前記復号化部による訂正後に前記画像データに残る伝送誤りを補正する画像処理部と、を有することを特徴とする電子内視鏡装置である。   The present invention is an electronic endoscopic apparatus comprising a distal end portion, a main body portion, and a transmission section that connects the distal end portion and the main body portion so that they can communicate with each other. An image pickup unit that generates an image signal, an A / D conversion unit that is provided at the tip and generates image data by quantizing the image signal, and an error correction code that is provided at the tip An encoding unit that encodes the image data to generate encoded data; a decoding unit that is provided in the main body unit and corrects a transmission error of the image data by decoding the encoded data; An electronic endoscope apparatus comprising: an image processing unit that is provided in a main body unit and corrects a transmission error remaining in the image data after correction by the decoding unit.

また、本発明の電子内視鏡装置において、前記復号化部は、伝送誤りの訂正が不可能だった前記画像データに含まれる画素の位置を示す誤り画素位置情報を生成し、前記画像処理部は、前記誤り画素位置情報で特定される前記画素のデータを、画像補間により補間することを特徴とする。   Further, in the electronic endoscope apparatus of the present invention, the decoding unit generates error pixel position information indicating a position of a pixel included in the image data in which a transmission error cannot be corrected, and the image processing unit Is characterized in that the pixel data specified by the error pixel position information is interpolated by image interpolation.

また、本発明の電子内視鏡装置において、前記画像処理部は、前記誤り画素位置情報で特定される前記画素のデータを、当該画素の周囲の画素の値に基づいて算出した値に置き換えることを特徴とする。   In the electronic endoscope apparatus of the present invention, the image processing unit replaces the data of the pixel specified by the error pixel position information with a value calculated based on values of pixels around the pixel. It is characterized by.

また、本発明は、前記本体部に設けられ、前記先端部の種類を判別し、前記先端部の種類を一意に特定する判別情報を生成する判別部を有し、前記符号化部は、前記先端部の種類毎に定められている誤り訂正符号を用いて前記符号化データを生成し、前記復号化部は、前記判別部が判別する前記先端部の種類に基づいて、当該先端部に設けられた前記符号化部で使用されている前記誤り訂正符号を特定し、当該誤り訂正符号を用いて前記符号化データを復号化することを特徴とする電子内視鏡装置である。   In addition, the present invention includes a determination unit that is provided in the main body, determines a type of the tip, and generates determination information that uniquely specifies the type of the tip, and the encoding unit includes: The encoded data is generated using an error correction code determined for each type of tip, and the decoding unit is provided at the tip based on the type of the tip determined by the determination unit. The electronic endoscope apparatus is characterized in that the error correction code used in the encoded unit is specified, and the encoded data is decoded using the error correction code.

また、本発明は、前記先端部に設けられ、前記符号化データの一部を間引いて符号化データ長を縮めるパンクチャ部と、前記本体部に設けられ、前記パンクチャ部が間引いた部分に信号を追加して前記符号化データ長を元に戻す符号補間部と、を有することを特徴とする電子内視鏡装置である。   In addition, the present invention provides a puncture unit provided at the front end portion for reducing the encoded data length by thinning out a part of the encoded data, and a signal provided at a portion provided in the main body portion and thinned by the puncture portion. And a code interpolation unit that restores the encoded data length to the original value.

また、本発明は、前記本体部に設けられ、前記パンクチャ部が間引く前記符号化データのビット数を設定するモード選択信号を出力するモード選択部を有し、前記パンクチャ部は、前記符号化データのうち、前記モード選択信号で特定されるビット数のデータを間引くことを特徴とする電子内視鏡装置である。   The present invention further includes a mode selection unit that is provided in the main body unit and outputs a mode selection signal that sets the number of bits of the encoded data to be thinned out by the puncture unit, and the puncture unit includes the encoded data Among them, the electronic endoscope apparatus is characterized in that data of the number of bits specified by the mode selection signal is thinned out.

また、本発明は、前記先端部に設けられ、前記符号化データから、前記先端部の種類毎に定められている位置のデータを間引いて符号化データ長を縮めるパンクチャ部と、前記本体部に設けられ、前記先端部の種類を判別し、前記先端部の種類を一意に特定する判別情報を生成する判別部と、前記本体部に設けられ、前記判別部が判別する前記先端部の種類に基づいて、当該先端部に設けられた前記パンクチャ部が前記データを間引く位置を特定し、当該特定した位置に信号を追加して前記符号化データ長を元に戻す符号補間部と、を有することを特徴とする電子内視鏡装置である。   Further, the present invention provides a puncture unit provided at the tip part, which thins out data at a position determined for each type of the tip part from the encoded data to reduce the encoded data length, and the main body part. A discriminator for discriminating the type of the tip and generating discriminating information for uniquely identifying the type of the tip; and a type of the tip provided by the discriminator and discriminated by the discriminator. And a code interpolation unit that specifies a position at which the puncture unit provided at the tip part thins out the data, adds a signal to the specified position, and restores the encoded data length. An electronic endoscope apparatus characterized by the above.

また、本発明は、先端部と本体部とからなる電子内視鏡装置であって、前記先端部に設けられ、被写体を撮像して画像信号を生成する撮像部と、前記先端部に設けられ、前記画像信号を量子化して画像データを生成するA/D変換部と、前記先端部に設けられ、誤り訂正符号を用いて前記画像データを符号化して符号化データを生成する符号化部と、前記先端部に設けられ、前記符号化データを前記本体部に送信する送信部と、前記本体部に設けられ、前記先端部から送信された前記符号化データを受信する受信部と、前記本体部に設けられ、前記符号化データを復号化することにより前記画像データの伝送誤りを訂正する復号化部と、前記本体部に設けられ、前記復号化部による訂正後に前記画像データに残る伝送誤りを補正する画像処理部と、を有することを特徴とする電子内視鏡装置である。   The present invention is also an electronic endoscope apparatus including a distal end portion and a main body portion, provided at the distal end portion, and provided at the distal end portion, an imaging portion that captures an image of a subject and generates an image signal. An A / D conversion unit that quantizes the image signal to generate image data; and an encoding unit that is provided at the tip and encodes the image data using an error correction code to generate encoded data. A transmission unit that is provided at the front end and transmits the encoded data to the main body; a reception unit that is provided at the main body and receives the encoded data transmitted from the front end; and the main body A decoding unit that corrects a transmission error of the image data by decoding the encoded data, and a transmission error that remains in the image data after correction by the decoding unit. Image processing to correct When an electronic endoscope apparatus characterized by having a.

また、本発明の電子内視鏡装置において、前記送信部と前記受信部とは、無線通信を用いてデータの伝送を行うことを特徴とする。   In the electronic endoscope apparatus of the present invention, the transmitting unit and the receiving unit transmit data using wireless communication.

また、本発明の電子内視鏡装置において、前記符号化部と前記復号化部で用いる誤り訂正符号は、画素ごとに符号化および復号化する誤り訂正符号であることを特徴とする。   In the electronic endoscope apparatus of the present invention, the error correction code used in the encoding unit and the decoding unit is an error correction code that is encoded and decoded for each pixel.

また、本発明の電子内視鏡装置において、前記撮像部は、原色フィルタまたは補色フィルタを有する単板式カラー撮像素子であることを特徴とする。   In the electronic endoscope apparatus of the present invention, the imaging unit is a single-plate color imaging element having a primary color filter or a complementary color filter.

また、本発明の電子内視鏡装置において、前記画像処理部は、復号化した前記画像データに基づいてカラー画像データを生成することを特徴とする。   In the electronic endoscope apparatus of the present invention, the image processing unit generates color image data based on the decoded image data.

本発明によれば、先端部に設けられた符号化部が、誤り訂正符号を用いて画像データを符号化して符号化データを生成する。また、本体部に設けられた復号化部が、符号化データを復号化することにより画像データの伝送誤りを訂正する。また、本体部に設けられた画像処理部が、復号化部による訂正後に画像データに残る伝送誤りを補正する。これにより、先端部から本体部に伝送するデータ量を少なくすることができるため、先端部の外径を小さくしつつ、伝送誤りによる画質劣化を抑えることができる。   According to the present invention, the encoding unit provided at the front end encodes image data using an error correction code to generate encoded data. In addition, a decoding unit provided in the main body unit corrects transmission errors in the image data by decoding the encoded data. An image processing unit provided in the main body corrects transmission errors remaining in the image data after correction by the decoding unit. As a result, the amount of data transmitted from the tip portion to the main body portion can be reduced, so that deterioration in image quality due to a transmission error can be suppressed while reducing the outer diameter of the tip portion.

本発明の第1の実施形態における電子内視鏡装置の構成を示した概略図である。It is the schematic which showed the structure of the electronic endoscope apparatus in the 1st Embodiment of this invention. 本発明の第1の実施形態における誤り訂正符号を用いた伝送誤り訂正処理時のデータ例を示した概略図である。It is the schematic which showed the example of data at the time of the transmission error correction process using the error correction code | symbol in the 1st Embodiment of this invention. 本発明の第1の実施形態における復号化されたRAW画像データの補間処理時のデータ例を示した概略図である。It is the schematic which showed the data example at the time of the interpolation process of the decoded RAW image data in the 1st Embodiment of this invention. 本発明の第1の実施形態における復号化されたRAW画像データの補間手順を示したフローチャートである。It is the flowchart which showed the interpolation procedure of the decoded RAW image data in the 1st Embodiment of this invention. 本発明の第1の実施形態における復号化されたRAW画像データの補間処理時のデータ例を示した概略図である。It is the schematic which showed the data example at the time of the interpolation process of the decoded RAW image data in the 1st Embodiment of this invention. 本発明の第1の実施形態における誤り訂正符号を用いた伝送誤り訂正処理時のデータ例を示した概略図である。It is the schematic which showed the example of data at the time of the transmission error correction process using the error correction code | symbol in the 1st Embodiment of this invention. 本発明の第2の実施形態における電子内視鏡装置の構成を示した概略図である。It is the schematic which showed the structure of the electronic endoscope apparatus in the 2nd Embodiment of this invention. 本発明の第3の実施形態における電子内視鏡装置の構成を示した概略図である。It is the schematic which showed the structure of the electronic endoscope apparatus in the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるパンクチャ部の回路構成を示した概略図である。It is the schematic which showed the circuit structure of the puncture part in the 3rd Embodiment of this invention. 本発明の第3の実施形態における誤り訂正符号の冗長ビットの間引き処理を用いた伝送誤り訂正処理時のデータ例を示した概略図である。It is the schematic which showed the data example at the time of the transmission error correction process using the thinning-out process of the redundant bit of the error correction code in the 3rd Embodiment of this invention. 本発明の第4の実施形態における電子内視鏡装置の構成を示した概略図である。It is the schematic which showed the structure of the electronic endoscope apparatus in the 4th Embodiment of this invention. 本発明の第5の実施形態における電子内視鏡装置の構成を示した概略図である。It is the schematic which showed the structure of the electronic endoscope apparatus in the 5th Embodiment of this invention.

(第1の実施形態)
以下、本発明の第1の実施形態について図面を参照して説明する。図1は、本実施形態における電子内視鏡装置の構成を示した概略図である。図示する例では、電子内視鏡装置1は、先端部10と、本体部20と、伝送部30とを有する。先端部10は、撮像部11と、A/D変換部12と、ECC符号化部13(符号化部)とを有する。本体部20は、ECC復号化部21(復号化部)と、画像処理部22と、表示部23とを有する。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram illustrating a configuration of an electronic endoscope apparatus according to the present embodiment. In the illustrated example, the electronic endoscope apparatus 1 includes a distal end portion 10, a main body portion 20, and a transmission portion 30. The distal end portion 10 includes an imaging unit 11, an A / D conversion unit 12, and an ECC encoding unit 13 (encoding unit). The main body unit 20 includes an ECC decoding unit 21 (decoding unit), an image processing unit 22, and a display unit 23.

撮像部11は、CMOSやCCD(Charge Coupled Device、電荷結合素子)等を備え、被写体を撮影して、各画素の受光強度を並べたRAW画像信号を生成する。A/D変換部12は、アナログ信号であるRAW画像信号を量子化して、デジタルデータであるRAW画像データを生成する。   The imaging unit 11 includes a CMOS, a CCD (Charge Coupled Device), and the like, shoots a subject, and generates a RAW image signal in which the received light intensity of each pixel is arranged. The A / D converter 12 quantizes the RAW image signal that is an analog signal to generate RAW image data that is digital data.

ECC符号化部13は、RAW画像データから、誤り訂正符号を使用して符号化データを生成する。この際に、ビット誤りの訂正能力に比例した冗長ビット(冗長情報)が付加される。また、ECC符号化部13は、RAW画像データの1画素毎に、RAW画像データを符号化データに変換する。これにより、複数画素単位で符号化データに変換する場合と比較して、複数画素のデータを一時記憶する必要が無くなるため先端部10に余分な記憶領域を備える必要がなく、またECC符号化部13も小さくできるため、先端部10の回路規模を小さくすることが出来る。   The ECC encoding unit 13 generates encoded data from the RAW image data using an error correction code. At this time, redundant bits (redundant information) proportional to the bit error correction capability are added. The ECC encoding unit 13 converts the RAW image data into encoded data for each pixel of the RAW image data. As a result, it is not necessary to temporarily store data of a plurality of pixels as compared with the case of converting into encoded data in units of a plurality of pixels, so that it is not necessary to provide an extra storage area in the tip portion 10, and the ECC encoding unit 13 can also be made smaller, so that the circuit scale of the tip 10 can be made smaller.

また、後述する、伝送誤りを訂正するECC復号化部21によるECC復号化において、誤り訂正不能なデータの単位を1画素単位とすることで、連続する複数の画素に伝送誤りが広がることを押さえ、画質の劣化が目立たないようにできる。なお、誤り訂正不能なデータの単位を1画素単位とする場合には、ブロック符号を用いることで遅延回路が減るため、回路規模を削減できるが、誤り訂正単位が1画素単位となる符号化方式であれば、符号化の方法はブロック符号でなくても良い。   Further, in ECC decoding by the ECC decoding unit 21 that corrects a transmission error, which will be described later, by setting the unit of data that cannot be corrected to one pixel, it is possible to suppress the transmission error from spreading to a plurality of consecutive pixels. , Image quality deterioration can be made inconspicuous. When the unit of data that cannot be error corrected is a single pixel unit, the delay circuit is reduced by using a block code, so that the circuit scale can be reduced. However, the encoding method is such that the error correction unit is a single pixel unit. If so, the encoding method may not be a block code.

伝送部30は、先端部10から本体部20に符号化データを伝送する。伝送部30が符号化データを先端部10から本体部20に伝送する際、伝送途中の条件によっては伝送誤りが発生する。なお、この伝送誤りは、符号化データ中のビットが反転することを意味する。   The transmission unit 30 transmits the encoded data from the distal end portion 10 to the main body portion 20. When the transmission unit 30 transmits the encoded data from the distal end unit 10 to the main body unit 20, a transmission error occurs depending on the condition during transmission. This transmission error means that the bits in the encoded data are inverted.

ECC復号化部21は、符号化データに含まれる伝送誤りを、誤り訂正符号によって訂正および検出し、復号化データと、誤り画素位置情報を生成する。例えば、符号化データに含まれる伝送誤り数が、誤り訂正能力の範囲内である場合には、ECC復号化部21は、伝送誤りを誤り訂正符号によって訂正する。また、符号化データに含まれる伝送誤り数が、誤り訂正能力より多く、かつ、誤り検出能力以下である場合には、ECC復号化部21は、誤りを訂正することは出来ないが検出することは可能であるため、この画素のデータは誤りを含んでいることを示す誤り検出情報を生成する。この誤り検出情報は、画素の位置と対応付けて管理され、誤り画素位置情報として後段の画像処理部に入力される。   The ECC decoding unit 21 corrects and detects a transmission error included in the encoded data by using an error correction code, and generates decoded data and error pixel position information. For example, when the number of transmission errors included in the encoded data is within the range of the error correction capability, the ECC decoding unit 21 corrects the transmission error with the error correction code. If the number of transmission errors included in the encoded data is greater than the error correction capability and less than or equal to the error detection capability, the ECC decoding unit 21 cannot detect the error but detects it. Therefore, error detection information indicating that the pixel data includes an error is generated. The error detection information is managed in association with the pixel position, and is input to the subsequent image processing unit as error pixel position information.

画像処理部22は、誤り画素位置情報を元に、復号化データに含まれる、ECC復号化部21で訂正できなかった誤りを持つ画素のデータを画像補間により補間し、出力データを生成する。表示部23は、出力データに基づいた画像を表示する。   Based on the error pixel position information, the image processing unit 22 interpolates, by image interpolation, pixel data having errors that could not be corrected by the ECC decoding unit 21 and included in the decoded data, and generates output data. The display unit 23 displays an image based on the output data.

次に、誤り訂正符号による、誤り訂正および誤り検出方法について説明する。本実施形態では、誤り訂正符号の一方式である線形符号を用いる。線形符号は、情報ビットを複数集めた情報語を処理単位とし、各情報語に対して行列演算を行うことで符号語を生成する符号化方式の総称である。   Next, an error correction and error detection method using an error correction code will be described. In this embodiment, a linear code which is one method of error correction code is used. A linear code is a generic name of an encoding method in which a code word is generated by performing a matrix operation on each information word using an information word obtained by collecting a plurality of information bits as a processing unit.

以後の例では、情報ビットを0と1との2つの数字で表現し、情報ビット間の演算は、ガロア体GF(2)に従うとする。つまり、通常の算術加算と算術乗算に対して、1+1=0となるよう修正した演算を使用する。なお、情報語と符号語は、情報ビットを複数個まとめたベクトルであらわすことができる。具体的には、情報ビット数がmであり、符号長がnであるとき、情報語wはw={w1,w2,w3,・・・,wm}と表現でき、符号語cはc={c1,c2,c3,・・・,cn}と表現できる。   In the following examples, it is assumed that information bits are expressed by two numbers 0 and 1, and an operation between the information bits follows a Galois field GF (2). In other words, an operation modified so that 1 + 1 = 0 is used for normal arithmetic addition and multiplication. The information word and the code word can be represented by a vector in which a plurality of information bits are collected. Specifically, when the number of information bits is m and the code length is n, the information word w can be expressed as w = {w1, w2, w3,..., Wm}, and the codeword c is c = {C1, c2, c3,..., Cn}.

また、伝送中の誤りは、誤り位置ベクトルとしてe={e1,e2,e3,・・・,en}として表現でき、符号語と誤り位置ベクトルを加算したものが受信符号語r=c+e={r1,r2,r3,・・・,rn}となる。ここで、n>mとする。   An error during transmission can be expressed as an error position vector as e = {e1, e2, e3,..., En}, and the sum of the codeword and the error position vector is a received codeword r = c + e = { r1, r2, r3,..., rn}. Here, n> m.

線形符号において、情報語を符号語に変換する変換行列を生成行列と呼び、以後Gと表現する。このとき、符号化処理はc=wGで表現することができる。伝送中に誤りが発生する場合、受信時の符号語rはr=c+eで表現できる。例えば、符号語の1ビット目が誤った場合には、e={1,0,0,・・・,0}となる。誤りが発生しなかった場合には、e={0,0,0,・・・,0}となる。   In a linear code, a conversion matrix that converts an information word into a code word is called a generator matrix, and is hereinafter expressed as G. At this time, the encoding process can be expressed by c = wG. When an error occurs during transmission, the codeword r at the time of reception can be expressed by r = c + e. For example, if the first bit of the code word is incorrect, e = {1, 0, 0,..., 0}. When no error occurs, e = {0, 0, 0,..., 0}.

復号化処理では、GHT=0となる検査行列を用い、rHTを計算する。
rHT=cHT+eHT=wGHT+eHT=eHT
誤りがない場合、つまりe=0であるときは、eHT=0となるが、誤りが存在する場合は0以外の値となるため、誤りが存在することがわかる。また、この値は情報語にかかわらず誤り位置ベクトルeによって一意に定まるため、eHTの値がわかれば誤り位置を特定でき、誤りを訂正できる。この値をシンドロームと呼ぶ。
In the decoding process, rH T is calculated using a parity check matrix with GH T = 0.
rH T = cH T + eH T = wGH T + eH T = eH T
When there is no error, that is, when e = 0, eH T = 0, but when there is an error, it is a value other than 0, and it can be seen that an error exists. Also, the value for uniquely determined by the error position vector e regardless the information word, can determine the error location knowing the value of eH T, errors can be corrected. This value is called a syndrome.

以下、誤り訂正符号の例としてハミング符号を挙げ、シンドロームを用いた具体的な誤り訂正および誤り位置検出方法について述べる。例として、(1)式の生成行列および(2)式の検査行列で定義されるハミング符号を考える。   Hereinafter, a Hamming code is given as an example of an error correction code, and a specific error correction and error position detection method using a syndrome will be described. As an example, consider a Hamming code defined by a generator matrix of equation (1) and a parity check matrix of equation (2).

Figure 2012011123
Figure 2012011123

Figure 2012011123
Figure 2012011123

この符号は、情報ビット数m=4であり、符号長n=8である。この符号における、誤り位置ベクトルとシンドロームとの対応表は表1に示す通りである。   This code has an information bit number m = 4 and a code length n = 8. The correspondence table between the error position vector and the syndrome in this code is as shown in Table 1.

Figure 2012011123
Figure 2012011123

以下、w={0,1,0,1}で示す情報語を符号化して伝送する場合を考える。上記符号で符号化すると、c={0,1,0,1,1,0,1,1}となる。これに1ビットの誤りe={1,0,0,0,0,0,0,0}が発生した場合、受信符号語はr={1,1,0,1,1,0,1,1}となる。復号化処理においてシンドロームを計算すると、rHT={1,1,1,1}となり、誤りが存在することがわかる。 Hereinafter, a case where an information word indicated by w = {0, 1, 0, 1} is encoded and transmitted will be considered. When encoded with the above code, c = {0, 1, 0, 1, 1, 0, 1, 1}. If a 1-bit error e = {1, 0, 0, 0, 0, 0, 0, 0} occurs in this, the received code word is r = {1, 1, 0, 1, 1, 0, 1 , 1}. When the syndrome is calculated in the decoding process, rH T = {1, 1, 1, 1}, which indicates that an error exists.

表1に示した誤り位置ベクトルとシンドロームとの対応表に基づいて比較すると、rHT={1,1,1,1}となる誤り位置ベクトルはe={1,0,0,0,0,0,0,0}であるので、rとeとから、誤りを訂正した符号語{0,1,0,1,1,0,1,1}を得ることができる。これにより誤りを訂正することができる。 Comparing based on the correspondence table between the error position vector and the syndrome shown in Table 1, the error position vector where rH T = {1, 1, 1, 1} is e = {1, 0, 0, 0, 0 , 0, 0, 0}, the code word {0, 1, 0, 1, 1, 0, 1, 1} in which the error is corrected can be obtained from r and e. Thereby, an error can be corrected.

また、上記符号で2ビット誤り、例えば、誤り位置ベクトルがe={1,1,0,0,0,0,0,0}である場合を考える。このときのシンドロームeHTは{0,0,1,0}となるが、別の誤り位置ベクトルe={0,0,0,1,0,1,0,0}の場合でもシンドロームは{0,0,1,0}となるため、シンドロームと誤り位置ベクトルとの対応を一意に特定することができないため、誤り訂正を行うことが不可能である。しかしながら、シンドロームは0ではないため、誤りの存在は検出できる。ゆえに、この符号の場合、誤り検出能力は2ビットであり、誤り訂正能力は1ビットである。 Also, consider a case where a 2-bit error occurs in the above code, for example, the error position vector is e = {1, 1, 0, 0, 0, 0, 0, 0}. The syndrome eH T at this time is {0, 0, 1, 0}. However, even when another error position vector e = {0, 0, 0, 1, 0, 1, 0, 0}, the syndrome is { 0, 0, 1, 0}, the correspondence between the syndrome and the error position vector cannot be uniquely specified, and error correction cannot be performed. However, since the syndrome is not 0, the presence of an error can be detected. Therefore, in this code, the error detection capability is 2 bits and the error correction capability is 1 bit.

なお、符号化方式の例としてハミング符号について説明したが、本実施形態で用いる符号化方式は、ハミング符号に限定するものではない。例えば、符号化方式として、リードソロモン符号やBCH符号などを用いてもよい。   Although the Hamming code has been described as an example of the encoding method, the encoding method used in the present embodiment is not limited to the Hamming code. For example, a Reed-Solomon code or a BCH code may be used as the encoding method.

次に、誤り訂正符号を用いた伝送誤り訂正処理について説明する。図2は、本実施形態における誤り訂正符号を用いた伝送誤り訂正処理時のデータ例を示した概略図である。図示する例では、RAW画像データを先端部10から本体部20に送信する場合において、各部に入出力するデータの例を示している。   Next, transmission error correction processing using an error correction code will be described. FIG. 2 is a schematic diagram showing an example of data at the time of transmission error correction processing using the error correction code in the present embodiment. In the illustrated example, when RAW image data is transmitted from the distal end portion 10 to the main body portion 20, an example of data input to and output from each portion is illustrated.

なお、本実施形態では、A/D変換部12が生成するRAW画像データは、画素毎に8ビットの情報ビットを有している。この情報ビットは、RAW画像データにおける、量子化された受光強度値を示す。また、ECC符号化部13が生成する符号化データは、RAW画像データの各画素のデータ毎に、4ビットの冗長ビットを付加したデータである。これにより、冗長ビットが付加された各画素のデータに1ビットの誤りが存在する場合、ECC復号化部21は、その誤りを正しいデータに訂正することができる。また、冗長ビットが付加された各画素のデータに2ビットの誤りが存在する場合、ECC復号化部21は、そのデータに誤りが含まれていることを検出することができる。   In the present embodiment, the RAW image data generated by the A / D conversion unit 12 has 8 information bits for each pixel. This information bit indicates a quantized received light intensity value in the RAW image data. The encoded data generated by the ECC encoding unit 13 is data obtained by adding 4 redundant bits to each pixel data of the RAW image data. As a result, when there is a 1-bit error in the data of each pixel to which redundant bits are added, the ECC decoding unit 21 can correct the error into correct data. Further, when a 2-bit error exists in the data of each pixel to which redundant bits are added, the ECC decoding unit 21 can detect that the data includes an error.

図2(1)は、A/D変換部12が生成したRAW画像データの例を示した概略図である。図示する例では、A/D変換部12が生成したRAW画像データのうち、画素番号p1〜p3の3つの画素のデータを示している。また、画素番号p1〜p3の各画素のデータは、情報ビットD1〜D8を含んだデータである。なお、情報ビットD1〜D8は、それぞれ1ビットのデータを示す。   FIG. 2A is a schematic diagram illustrating an example of RAW image data generated by the A / D conversion unit 12. In the example shown in the drawing, data of three pixels having pixel numbers p1 to p3 among the RAW image data generated by the A / D conversion unit 12 is illustrated. The data of each pixel with pixel numbers p1 to p3 is data including information bits D1 to D8. Information bits D1 to D8 each indicate 1-bit data.

図2(2)は、A/D変換部12が生成したRAW画像データに、ECC符号化部13が冗長ビットを付加した符号化データの例を示した概略図である。図示する例では、ECC符号化部13が生成した符号化データのうち、画素番号p1〜p3の3つの画素のデータを示している。また、画素番号p1〜p3の各画素のデータは、それぞれ情報ビットD1〜D8と、冗長ビットC1〜C4とを含んだデータである。なお、冗長ビットC1〜C4は、それぞれ1ビットのデータを示す。   FIG. 2B is a schematic diagram illustrating an example of encoded data in which redundant bits are added by the ECC encoding unit 13 to the RAW image data generated by the A / D conversion unit 12. In the example shown in the figure, among the encoded data generated by the ECC encoding unit 13, data of three pixels having pixel numbers p1 to p3 is illustrated. Further, the data of each pixel with pixel numbers p1 to p3 is data including information bits D1 to D8 and redundant bits C1 to C4, respectively. The redundant bits C1 to C4 each indicate 1-bit data.

図2(3)は、伝送路30を介して、先端部10から本体部20に送信された符号化データの例を示した概略図である。図示する例では、伝送路30を介して、先端部10から本体部20に送信された符号化データのうち、画素番号p1〜p3の3つの画素のデータを示している。また、伝送路30による符号化データの伝送中に生じた誤りデータを示している。具体的には、画素番号p1の画素のデータのうち、情報ビットD4が誤ったデータであることを示している。また、画素番号p2の画素のデータのうち、情報ビットD2と、情報ビットD6とが誤ったデータであることを示している。また、画素番号p3の画素のデータのうち、冗長ビットC1が誤ったデータであることを示している。   FIG. 2 (3) is a schematic diagram illustrating an example of encoded data transmitted from the distal end portion 10 to the main body portion 20 via the transmission path 30. In the illustrated example, data of three pixels of pixel numbers p1 to p3 among the encoded data transmitted from the distal end portion 10 to the main body portion 20 via the transmission path 30 is illustrated. Also, error data generated during transmission of encoded data through the transmission path 30 is shown. Specifically, the information bit D4 indicates that the data of the pixel having the pixel number p1 is incorrect. Further, it is indicated that the information bit D2 and the information bit D6 are incorrect data among the data of the pixel of the pixel number p2. In addition, among the data of the pixel having the pixel number p3, the redundant bit C1 indicates incorrect data.

図2(4)は、伝送路30を介して先端部10から本体部20に送信された符号化データを、ECC復号化部21が復号化した復号化データの例を示した概略図である。図示する例では、ECC復号化部21が復号化した復号化データのうち、画素番号p1〜p3の3つの画素のデータを示している。図2(3)では、画素番号p1,p3の画素のデータは、それぞれ誤ったデータを1ビット含んでいたが、ECC復号化部21は誤ったデータを訂正している。また、図2(3)では、画素番号p2の画素のデータは、誤ったデータを2ビット含んでいたので、ECC復号化部21は、画素番号p2の画素のデータを誤ったデータであると特定し、誤り画素位置情報を生成する。   FIG. 2 (4) is a schematic diagram illustrating an example of decoded data obtained by decoding the encoded data transmitted from the distal end portion 10 to the main body portion 20 via the transmission path 30 by the ECC decoding portion 21. . In the example shown in the figure, data of three pixels having pixel numbers p1 to p3 among the decoded data decoded by the ECC decoding unit 21 is shown. In FIG. 2 (3), the pixel data of the pixel numbers p1 and p3 each contain 1 bit of incorrect data, but the ECC decoding unit 21 corrects the incorrect data. In FIG. 2 (3), since the pixel data of pixel number p2 includes 2 bits of erroneous data, the ECC decoding unit 21 determines that the data of pixel number p2 is incorrect data. Identify and generate error pixel location information.

上述したとおり、伝送路30を介して、先端部10から本体部20に送信された符号化データの各画素データに1ビットの誤りが存在する場合、ECC復号化部21は、その誤りを正しいデータに訂正することができる。また、冗長ビットが付加された各画素データに2ビットの誤りが存在する場合、ECC復号化部21は、そのデータに誤りが含まれていることを検出して特定することができる。   As described above, when there is a 1-bit error in each pixel data of the encoded data transmitted from the front end 10 to the main body 20 via the transmission path 30, the ECC decoding unit 21 corrects the error. Data can be corrected. When there is a 2-bit error in each pixel data to which redundant bits are added, the ECC decoding unit 21 can detect and specify that the data contains an error.

次に、画像処理部22が実行する、復号化されたRAW画像データの補間方法について説明する。図3は、本実施形態における復号化されたRAW画像データの補間処理時のデータ例を示した概略図である。図示する例では、RAW画像データとして、縦方向と横方向それぞれに4画素ずつ計16画素が並んだRAW画像データを示している。また、誤りを判りやすく表現するため、元のRAW画像データに含まれるデータは全て0として表現している。すなわち、元のRAW画像データを黒色の画像としている。   Next, a method of interpolating decoded RAW image data executed by the image processing unit 22 will be described. FIG. 3 is a schematic diagram showing an example of data at the time of interpolation processing of decoded RAW image data in the present embodiment. In the example shown in the drawing, RAW image data in which a total of 16 pixels are arranged in 4 pixels each in the vertical direction and the horizontal direction is shown as the RAW image data. In addition, all data included in the original RAW image data is expressed as 0 in order to express the error easily. That is, the original RAW image data is a black image.

図3(1)は、A/D変換部12が生成したRAW画像データの例を示した概略図である。図示する例では、A/D変換部12が生成した、黒色の画像のRAW画像データを示している。なお、各画素に画素番号p11〜p26を付している。画素番号p11〜p26の画素のデータは、それぞれ黒を示す「00000000」である。   FIG. 3A is a schematic diagram illustrating an example of RAW image data generated by the A / D conversion unit 12. In the illustrated example, RAW image data of a black image generated by the A / D conversion unit 12 is illustrated. Note that pixel numbers p11 to p26 are assigned to the respective pixels. The pixel data of the pixel numbers p11 to p26 are “00000000” indicating black.

図3(2)は、伝送路30を介して、先端部10から本体部20に送信された符号化データに含まれるRAW画像データの例を示した概略図である。図示する例では、伝送誤りによって、画素番号p12,p19,p26の画素のデータには誤ったデータが1ビット含まれている。また、伝送誤りによって、画素番号p21の画素のデータには誤ったデータが2ビット含まれている。伝送誤りはビット反転を意味するため、図3(2)においては0以外の数値「1」として表現される。なお、冗長ビットについては記載していないが、冗長ビットには誤りが無いとする。   FIG. 3B is a schematic diagram illustrating an example of RAW image data included in the encoded data transmitted from the distal end portion 10 to the main body portion 20 via the transmission path 30. In the example shown in the figure, one bit of erroneous data is included in the pixel data of pixel numbers p12, p19, and p26 due to a transmission error. Further, due to a transmission error, the pixel data of the pixel number p21 includes 2 bits of erroneous data. Since a transmission error means bit inversion, it is expressed as a numerical value “1” other than 0 in FIG. Although redundant bits are not described, it is assumed that there is no error in redundant bits.

具体的には、画素番号p12の画素のデータが「00100000」に変化し、画素番号p19の画素のデータが「00000100」に変化し、画素番号p21の画素のデータが「01000010」に変化し、画素番号p26の画素のデータが「00000001」に変化している。   Specifically, the pixel data of the pixel number p12 changes to “00100000”, the pixel data of the pixel number p19 changes to “00000100”, the data of the pixel of the pixel number p21 changes to “01000010”, The pixel data of the pixel number p26 is changed to “00000001”.

図3(3)は、伝送路30を介して先端部10から本体部20に送信された符号化データを、ECC復号化部21が復号化した復号化データに含まれるRAW画像データの例を示した概略図である。ECC復号化部21は、誤り訂正能力以下のビット誤りを、冗長ビットを用いて除去する。また、ECC復号化部21は、誤り訂正能力を超え誤り検出能力以下のビット誤りを持つ画素位置を示した誤り画素位置情報を生成する。   FIG. 3 (3) shows an example of RAW image data included in the decoded data obtained by decoding the encoded data transmitted from the front end 10 to the main body 20 via the transmission path 30 by the ECC decoding unit 21. It is the shown schematic. The ECC decoding unit 21 removes bit errors below the error correction capability using redundant bits. In addition, the ECC decoding unit 21 generates error pixel position information indicating a pixel position having a bit error that exceeds the error correction capability and is below the error detection capability.

具体的には、図3(2)に示した例では、画素番号p12,p19,p26の画素のデータには誤ったデータが1ビット含まれていたが、図3(3)に示す例では、ECC復号化部21によって「00000000」に訂正されている。また、図3(3)に示す例では、画素番号p21の画素のデータには、誤ったデータが2ビット含まれているため、ECC復号化部21は、画素番号p21の画素のデータを誤ったデータであると特定する誤り画素位置情報を生成している。   Specifically, in the example shown in FIG. 3 (2), the pixel data of the pixel numbers p12, p19, and p26 includes 1 bit of incorrect data, but in the example shown in FIG. 3 (3). , It is corrected to “00000000” by the ECC decoding unit 21. In the example shown in FIG. 3 (3), since the pixel data of the pixel number p21 includes 2 bits of erroneous data, the ECC decoding unit 21 erroneously sets the pixel data of the pixel number p21. The error pixel position information for identifying the data is generated.

図3(4)は、ECC復号化部21が特定したRAW画像データに含まれる誤ったデータを、画像処理部22が補間したRAW画像データの例を示した概略図である。画像処理部22は、RAW画像データに含まれる誤ったデータを無視して、誤ったデータの周囲のデータに基づいて補間する。本実施形態では、画像処理部22は、誤ったデータに隣接する画素のデータの平均値を補間データとする。   FIG. 3 (4) is a schematic diagram illustrating an example of RAW image data in which erroneous data included in the RAW image data specified by the ECC decoding unit 21 is interpolated by the image processing unit 22. The image processing unit 22 ignores erroneous data included in the RAW image data and performs interpolation based on data around the erroneous data. In the present embodiment, the image processing unit 22 uses an average value of data of pixels adjacent to erroneous data as interpolation data.

具体的には、図3(3)に示した例では、画素番号p21の画素のデータは誤ったデータであったが、図3(4)に示す例では、画像処理部22によって「00000000」に補間されている。このデータは、画素番号p17,p20,p22,p25の画素のデータの平均値である。   Specifically, in the example shown in FIG. 3 (3), the pixel data of the pixel number p21 is incorrect data, but in the example shown in FIG. 3 (4), the image processing unit 22 sets “00000000”. Has been interpolated. This data is an average value of the data of the pixels with pixel numbers p17, p20, p22, and p25.

図4は、本実施形態における画像処理部22が実行する、復号化されたRAW画像データの補間手順を示したフローチャートである。
(ステップS101)画像処理部22は、画素の行位置を特定する行位置iを0とし、画素の列位置を特定する列位置jを0とする。その後、ステップS102の処理に進む。
(ステップS102)画像処理部22は、ECC符号化部13が生成した誤り画素位置情報に基づいて、画素(i,j)のデータは誤ったデータであるか否かを判定する。画像処理部22が、画素(i,j)のデータは誤ったデータであると判定した場合にはステップS103の処理に進み、それ以外の場合にはステップS104の処理に進む。
FIG. 4 is a flowchart showing an interpolation procedure of decoded RAW image data executed by the image processing unit 22 in the present embodiment.
(Step S <b> 101) The image processing unit 22 sets a row position i specifying the pixel row position to 0, and sets a column position j specifying the pixel column position to 0. Thereafter, the process proceeds to step S102.
(Step S102) The image processing unit 22 determines whether or not the data of the pixel (i, j) is incorrect data based on the error pixel position information generated by the ECC encoding unit 13. If the image processing unit 22 determines that the data of the pixel (i, j) is incorrect data, the process proceeds to step S103. Otherwise, the process proceeds to step S104.

(ステップS103)画像処理部22は、画素(i,j)のデータを、画素(i,j)の上下左右に隣接する画素のデータの平均値[{(i,j−1)+(i−1,j)+ (i,j+1)+(i+1,j)}/4]とする。その後、ステップS104の処理に進む。
(ステップS104)画像処理部22は、行位置iがRAW画像データの行の最後であるか否かを判定する。画像処理部22が、行位置iはRAW画像データの行の最後であると判定した場合にはステップS106の処理に進み、それ以外の場合にはステップS105の処理に進む。
(Step S103) The image processing unit 22 converts the data of the pixel (i, j) to the average value [{(i, j-1) + (i −1, j) + (i, j + 1) + (i + 1, j)} / 4]. Thereafter, the process proceeds to step S104.
(Step S104) The image processing unit 22 determines whether or not the row position i is the last row of the RAW image data. If the image processing unit 22 determines that the row position i is the last row of the RAW image data, the process proceeds to step S106. Otherwise, the process proceeds to step S105.

(ステップS105)画像処理部22は、行位置iに1を加算する(i=i+1)。その後、ステップS102の処理に戻る。
(ステップS106)画像処理部22は、列位置jがRAW画像データの列の最後であるか否かを判定する。画像処理部22が、列位置jはRAW画像データの列の最後であると判定した場合には処理を終了し、それ以外の場合にはステップS107の処理に進む。
(ステップS107)画像処理部22は、列位置jに1を加算する(j=j+1)。その後、ステップS102の処理に戻る。
(Step S105) The image processing unit 22 adds 1 to the row position i (i = i + 1). Thereafter, the process returns to step S102.
(Step S106) The image processing unit 22 determines whether or not the column position j is the last column of the RAW image data. If the image processing unit 22 determines that the column position j is the last column of the RAW image data, the process ends, otherwise the process proceeds to step S107.
(Step S107) The image processing unit 22 adds 1 to the column position j (j = j + 1). Thereafter, the process returns to step S102.

従来の電子内視鏡装置では、先端部から本体部にRAW画像データを転送する際に転送誤りが含まれた場合であっても、誤り訂正能力を超えた画素のデータをそのまま出力する。そのため、誤りデータを含んだ画素の色は、周囲と著しく異なった色として表示されてしまう場合があった。これは輝点や滅点と呼ばれる現象であり、非常に目立つ画像ノイズとなっていた。これを解決するために誤り訂正能力を高くした場合には、先端部から本体部に伝送するデータ量が多くなる。そのため、多量のデータを伝送するために、伝送部には太径の信号線を用いる必要があり、信号線と接続している先端部の外径も大きくなっていた。   In the conventional electronic endoscope apparatus, even when a transfer error is included when transferring RAW image data from the distal end portion to the main body portion, the pixel data exceeding the error correction capability is output as it is. For this reason, the color of the pixel including the error data may be displayed as a color significantly different from the surroundings. This is a phenomenon called a bright spot or a dark spot, and was a very conspicuous image noise. If the error correction capability is increased in order to solve this problem, the amount of data transmitted from the front end portion to the main body portion increases. Therefore, in order to transmit a large amount of data, it is necessary to use a large-diameter signal line for the transmission part, and the outer diameter of the tip part connected to the signal line is also large.

しかしながら、上述したとおり、本実施形態においては、ECC復号化部21は、誤り訂正能力以下のビット誤りを持つデータを正しい値に訂正する。また、画像処理部22は、誤り画素位置情報で示された誤ったデータを、この周囲の誤りでないデータを元に計算した値で補間する。そのため、誤り訂正能力を低くしても誤ったデータを補間することができるので、先端部10から本体部20に伝送するデータ量を減らすことができる。   However, as described above, in the present embodiment, the ECC decoding unit 21 corrects data having a bit error below the error correction capability to a correct value. Further, the image processing unit 22 interpolates the erroneous data indicated by the error pixel position information with a value calculated based on the surrounding non-error data. Therefore, even if the error correction capability is lowered, erroneous data can be interpolated, so that the amount of data transmitted from the distal end portion 10 to the main body portion 20 can be reduced.

また、本実施形態の内視鏡装置1では、先端部10から本体部20に伝送するデータ量を減らすことができるため、伝送部30に細径の信号線を用いることができる。そのため、伝送部30と接続している先端部10の外径も小さくすることができる。   Further, in the endoscope apparatus 1 of the present embodiment, since the amount of data transmitted from the distal end portion 10 to the main body portion 20 can be reduced, a small-diameter signal line can be used for the transmission portion 30. Therefore, the outer diameter of the tip 10 connected to the transmission unit 30 can also be reduced.

また、ECC復号化部21によって、誤り訂正能力以下のビット誤りを持つ画素のデータは完全に訂正さる。また、誤り検出能力以下のビット誤りを持つ画素のデータは、画像処理部22によって、周囲の誤っていない画素のデータに基づいて算出された値に置き換えられる。そのため、輝点や滅点を減らすことができる。   Further, the ECC decoding unit 21 completely corrects pixel data having a bit error below the error correction capability. In addition, the pixel data having a bit error below the error detection capability is replaced by the image processing unit 22 with a value calculated based on the surrounding non-error pixel data. Therefore, bright spots and dark spots can be reduced.

次に、RAW画像データとして、Bayer配列による原色フィルタを持つ撮像素子の受光強度値を使用する場合の、復号化されたRAW画像データにおける伝送誤りを含む画素の補間方法について説明する。本実施形態では、カラー画像を生成する撮像素子を使用する場合、現像処理後のカラー画像データを伝送せずに、受光強度値を符号化して先端部10から本体部20に伝送する。   Next, a method for interpolating pixels including transmission errors in decoded RAW image data when the received light intensity value of an image sensor having a primary color filter with a Bayer array is used as RAW image data will be described. In the present embodiment, when an image sensor that generates a color image is used, the received light intensity value is encoded and transmitted from the distal end portion 10 to the main body portion 20 without transmitting the color image data after the development processing.

従来では、先端部で画像補間を行ってから伝送部に送られるため、画質を維持するためにRGB全てのデータを伝送する必要があった。そのため、色成分を3つ持つ画像を伝送する場合には、信号線数が3倍、もしくは伝送速度が3分の1となる。また、信号線数を増加させない、または伝送速度を低下させない場合には、伝送する情報量を減らす必要がある。伝送する情報量を減らすためには非可逆圧縮を行わなければならないため、画質が劣化する。   Conventionally, since image interpolation is performed at the leading end and then sent to the transmission unit, it has been necessary to transmit all RGB data in order to maintain image quality. Therefore, when transmitting an image having three color components, the number of signal lines is tripled or the transmission speed is one third. Further, when the number of signal lines is not increased or the transmission speed is not reduced, it is necessary to reduce the amount of information to be transmitted. In order to reduce the amount of information to be transmitted, irreversible compression must be performed, so that the image quality deteriorates.

本実施形態においては、本体部20の画像処理部22にて現像処理を行うことで、先端部10からRGBデータ全てを伝送する場合と比較して、3分の1の信号線数で同じ情報を伝送できる。故に、カラー画像を生成する撮像素子を使用する場合においても、伝送部における信号線数を維持したまま、画質を維持しつつ、伝送速度の低下を抑えることができる。   In the present embodiment, by performing development processing in the image processing unit 22 of the main body unit 20, the same information is obtained with one-third signal lines as compared to the case where all the RGB data is transmitted from the distal end unit 10. Can be transmitted. Therefore, even when an image sensor that generates a color image is used, a decrease in transmission speed can be suppressed while maintaining the image quality while maintaining the number of signal lines in the transmission unit.

図5は、本実施形態において、RAW画像データとして、Bayer配列による原色フィルタを持つ撮像素子の受光強度値を使用する場合の、復号化されたRAW画像データの補間処理時のデータ例を示した概略図である。図示する例では、RAW画像データとして、縦方向と横方向それぞれにベイヤ配列が3単位ずつ、計9単位並んだRAW画像データを示している。なお、ベイヤ配列の1単位には、赤色の光を検出する画素(R画素)1つと、緑色の光を検出する画素(G画素)2つと、青色の光を検出する画素(B画素)1つとが含まれる。   FIG. 5 shows an example of data at the time of interpolation processing of decoded RAW image data when the received light intensity value of an image sensor having a primary color filter with a Bayer array is used as RAW image data in this embodiment. FIG. In the example shown in the drawing, RAW image data in which a total of 9 units are arranged as 3 units of Bayer arrays in the vertical and horizontal directions is shown as the RAW image data. One unit of the Bayer array includes one pixel (R pixel) that detects red light, two pixels (G pixels) that detect green light, and one pixel (B pixel) that detects blue light. Included.

図5(1)は、A/D変換部12が生成したRAW画像データの例を示した概略図である。図示する例では、いずれの画素のデータにも誤りが含まれていない。   FIG. 5A is a schematic diagram illustrating an example of RAW image data generated by the A / D conversion unit 12. In the illustrated example, no error is included in the data of any pixel.

図5(2)は、伝送路30を介して、先端部10から本体部20に送信された符号化データに含まれるRAW画像データの例を示した概略図である。図示する例では、伝送誤りによって、画素番号p51,p52,p53の画素のデータには誤ったデータが1ビット含まれている。また、伝送誤りによって、画素番号p54の画素のデータには誤ったデータが2ビット含まれている。   FIG. 5B is a schematic diagram illustrating an example of RAW image data included in encoded data transmitted from the distal end portion 10 to the main body portion 20 via the transmission path 30. In the example shown in the figure, due to a transmission error, the pixel data of pixel numbers p51, p52, and p53 includes 1 bit of erroneous data. In addition, due to a transmission error, the pixel data of the pixel number p54 includes 2 bits of erroneous data.

図5(3)は、伝送路30を介して先端部10から本体部20に送信された符号化データを、ECC復号化部21が復号化した復号化データに含まれるRAW画像データの例を示した概略図である。ECC復号化部21は、誤り訂正能力以下のビット誤りを、冗長ビットを用いて除去する。また、ECC復号化部21は、誤り訂正能力を超え誤り検出能力以下のビット誤りを持つ画素位置を示した誤り画素位置情報を生成する。   FIG. 5 (3) shows an example of RAW image data included in the decoded data obtained by decoding the encoded data transmitted from the front end 10 to the main body 20 via the transmission path 30 by the ECC decoding unit 21. It is the shown schematic. The ECC decoding unit 21 removes bit errors below the error correction capability using redundant bits. In addition, the ECC decoding unit 21 generates error pixel position information indicating a pixel position having a bit error that exceeds the error correction capability and is below the error detection capability.

具体的には、図5(2)に示した例では、画素番号p51,p52,p53の画素のデータには誤ったデータが1ビット含まれていたが、図5(3)に示す例では、ECC復号化部21によって、画素番号p51,p52,p53の画素のデータは訂正されている。また、図5(3)に示す例では、画素番号p54の画素のデータには、誤ったデータが2ビット含まれているため、ECC復号化部21は、画素番号p54の画素のデータを誤ったデータであると特定する誤り画素位置情報を生成している。   Specifically, in the example shown in FIG. 5 (2), the pixel data of the pixel numbers p51, p52, and p53 includes one bit of erroneous data, but in the example shown in FIG. 5 (3). The data of the pixels with pixel numbers p51, p52, and p53 are corrected by the ECC decoding unit 21. In the example shown in FIG. 5 (3), since the pixel data of the pixel number p54 includes 2 bits of erroneous data, the ECC decoding unit 21 erroneously sets the pixel data of the pixel number p54. The error pixel position information for identifying the data is generated.

図5(4)は、ECC復号化部21が特定したRAW画像データに含まれる誤ったデータを、画像処理部22が補間したRAW画像データの例を示した概略図である。画像処理部22は、RAW画像データに含まれる誤ったデータを無視して、誤ったデータの周囲のデータに基づいて補間する。本実施形態では、画像処理部22は、誤ったデータと同じ色の光を検出する画素であり、誤ったデータからの距離が近い画素のデータの平均値を補間データとする。   FIG. 5 (4) is a schematic diagram illustrating an example of RAW image data in which erroneous data included in the RAW image data specified by the ECC decoding unit 21 is interpolated by the image processing unit 22. The image processing unit 22 ignores erroneous data included in the RAW image data and performs interpolation based on data around the erroneous data. In this embodiment, the image processing unit 22 is a pixel that detects light of the same color as that of erroneous data, and uses an average value of data of pixels that are close to the erroneous data as interpolation data.

具体的には、図5(3)に示した例では、画素番号p54の画素のデータは誤ったデータであったが、図5(4)に示す例では、画像処理部22によって補間されている。このデータは、画素番号p54の画素と同じ色の光を検出し、かつ画素番号p54の画素からの距離が最も近い画素番号p55,p56,p57,p58の画素のデータの平均値である。   Specifically, in the example shown in FIG. 5 (3), the pixel data of the pixel number p54 is incorrect data, but in the example shown in FIG. 5 (4), the data is interpolated by the image processing unit 22. Yes. This data is an average value of the data of the pixels of the pixel numbers p55, p56, p57, and p58 that detect the light of the same color as the pixel of the pixel number p54 and are the closest to the pixel of the pixel number p54.

なお、上述した誤り画素の補間処理は、欠陥画素補正処理と同様の処理である。本実施形態では、欠陥画素の判別処理に、事前に記録している欠陥画素位置からの情報に加え、誤り画素位置情報の参照を行うことで、既存の欠陥画素補正処理をそのまま用いつつ、伝送誤りを補正することが可能である。   The error pixel interpolation process described above is the same process as the defective pixel correction process. In this embodiment, in the defective pixel determination process, in addition to the information from the defective pixel position recorded in advance, the error pixel position information is referred to, and the transmission is performed while using the existing defective pixel correction process as it is. It is possible to correct errors.

また、誤り画素の補間処理方法は、上述した例に限らず、例えば、1フレーム前の画像に含まれる、誤り画素と同一の画素の値を補間データとして用いるようにしてもよい。   In addition, the error pixel interpolation processing method is not limited to the above-described example. For example, the same pixel value as the error pixel included in the image one frame before may be used as the interpolation data.

上述したとおり、本実施形態においては、カラーの画像を伝送する場合であっても、ECC復号化部21は、誤り訂正能力以下のビット誤りを持つデータを正しい値に訂正する。また、画像処理部22は、誤り画素位置情報で示された誤ったデータを、この周囲の誤りでない値を元に計算した値で補間する。そのため、誤り訂正能力以下のビット誤りを持つ画素は完全に訂正され、誤り検出能力以下のビット誤りを持つ画素のデータは周囲の誤っていない画素のデータによって置き換えられる。そのため、輝点や滅点を減らすことができる。故に、伝送速度を遅くすることなく、画質を落とすことなくRAW画像データを伝送することができるため、細径の信号線を用いることができ、先端部10の外径を細くすることができる。   As described above, in this embodiment, even when a color image is transmitted, the ECC decoding unit 21 corrects data having a bit error below the error correction capability to a correct value. Further, the image processing unit 22 interpolates erroneous data indicated by the error pixel position information with a value calculated based on the surrounding non-error value. Therefore, a pixel having a bit error less than the error correction capability is completely corrected, and data of a pixel having a bit error less than the error detection capability is replaced with surrounding non-error pixel data. Therefore, bright spots and dark spots can be reduced. Therefore, since the RAW image data can be transmitted without slowing down the transmission speed and without degrading the image quality, a thin signal line can be used, and the outer diameter of the distal end portion 10 can be reduced.

なお、上述した例では、冗長ビットとして4ビットのデータを付加したがこれに限らず、さらに誤り訂正能力を増やすように冗長ビットを付加するようにしてもよい。図6は、本実施形態において、誤り訂正能力を増やした場合の、誤り訂正符号を用いた伝送誤り訂正処理時のデータ例を示した概略図である。図示する例では、RAW画像データを先端部10から本体部20に送信する場合において、各部に入出力するデータの例を示している。   In the above-described example, 4-bit data is added as a redundant bit. However, the present invention is not limited to this, and a redundant bit may be added to further increase the error correction capability. FIG. 6 is a schematic diagram showing an example of data at the time of transmission error correction processing using an error correction code when the error correction capability is increased in the present embodiment. In the illustrated example, when RAW image data is transmitted from the distal end portion 10 to the main body portion 20, an example of data input to and output from each portion is illustrated.

図示する例では、A/D変換部12が生成するRAW画像データは、画素毎に8ビットの情報ビットを有している。また、ECC符号化部13が生成する符号化データは、RAW画像データの各画素のデータ毎に、6ビットの冗長ビットを付加したデータである。これにより、冗長ビットが付加された各画素のデータに2ビットまでの誤りが存在する場合、ECC復号化部21は、その誤りを正しいデータに訂正することができる。また、冗長ビットが付加された各画素のデータに3ビットの誤りが存在する場合、ECC復号化部21は、そのデータに誤りが含まれていることを検出することができる。   In the example shown in the drawing, the RAW image data generated by the A / D conversion unit 12 has 8 information bits for each pixel. The encoded data generated by the ECC encoding unit 13 is data obtained by adding 6 redundant bits to each pixel data of the RAW image data. As a result, when there is an error of up to 2 bits in the data of each pixel to which redundant bits are added, the ECC decoding unit 21 can correct the error into correct data. When there is a 3-bit error in the data of each pixel to which redundant bits are added, the ECC decoding unit 21 can detect that the data contains an error.

図6(1)は、A/D変換部12が生成したRAW画像データの例を示した概略図である。図示する例では、A/D変換部12が生成したRAW画像データのうち、画素番号p1〜p3の3つの画素のデータを示している。また、画素番号p1〜p3の各画素のデータは、情報ビットD1〜D8を含んだデータである。なお、情報ビットD1〜D8は、それぞれ1ビットのデータを示す。   FIG. 6A is a schematic diagram illustrating an example of RAW image data generated by the A / D conversion unit 12. In the example shown in the drawing, data of three pixels having pixel numbers p1 to p3 among the RAW image data generated by the A / D conversion unit 12 is illustrated. The data of each pixel with pixel numbers p1 to p3 is data including information bits D1 to D8. Information bits D1 to D8 each indicate 1-bit data.

図6(2)は、A/D変換部12が生成したRAW画像データに、ECC符号化部13が冗長ビットを付加した符号化データの例を示した概略図である。図示する例では、ECC符号化部13が生成した符号化データのうち、画素番号p1〜p3の3つの画素のデータを示している。また、画素番号p1〜p3の各画素のデータは、それぞれ情報ビットD1〜D8と、冗長ビットC1〜C6とを含んだデータである。なお、冗長ビットC1〜C6は、それぞれ1ビットのデータを示す。   FIG. 6B is a schematic diagram illustrating an example of encoded data in which redundant bits are added by the ECC encoding unit 13 to the RAW image data generated by the A / D conversion unit 12. In the example shown in the figure, among the encoded data generated by the ECC encoding unit 13, data of three pixels having pixel numbers p1 to p3 is illustrated. The data of the pixels with pixel numbers p1 to p3 are data including information bits D1 to D8 and redundant bits C1 to C6, respectively. Redundant bits C1 to C6 each indicate 1-bit data.

図6(3)は、伝送路30を介して、先端部10から本体部20に送信された符号化データの例を示した概略図である。図示する例では、伝送路30を介して、先端部10から本体部20に送信された符号化データのうち、画素番号p1〜p3の3つの画素のデータを示している。また、伝送路30による符号化データの伝送中に生じた誤りデータを示している。具体的には、画素番号p1の画素のデータのうち、情報ビットD4が誤ったデータであることを示している。また、画素番号p2の画素のデータのうち、情報ビットD2と、情報ビットD6とが誤ったデータであることを示している。また、画素番号p3の画素のデータのうち、冗長ビットC1が誤ったデータであることを示している。   FIG. 6 (3) is a schematic diagram illustrating an example of encoded data transmitted from the distal end portion 10 to the main body portion 20 via the transmission path 30. In the illustrated example, data of three pixels of pixel numbers p1 to p3 among the encoded data transmitted from the distal end portion 10 to the main body portion 20 via the transmission path 30 is illustrated. Also, error data generated during transmission of encoded data through the transmission path 30 is shown. Specifically, the information bit D4 indicates that the data of the pixel having the pixel number p1 is incorrect. Further, it is indicated that the information bit D2 and the information bit D6 are incorrect data among the data of the pixel of the pixel number p2. In addition, among the data of the pixel having the pixel number p3, the redundant bit C1 indicates incorrect data.

図6(4)は、伝送路30を介して先端部10から本体部20に送信された符号化データを、ECC復号化部21が復号化した復号化データの例を示した概略図である。図示する例では、ECC復号化部21が復号化した復号化データのうち、画素番号p1〜p3の3つの画素のデータを示している。図2(3)では、画素番号p1,p3の画素のデータは、それぞれ誤ったデータを1ビット含んでいたが、ECC復号化部21は誤ったデータを訂正している。また、図2(3)では、画素番号p2の画素のデータは、誤ったデータを2ビット含んでいたが、ECC復号化部21は誤ったデータを訂正している。   FIG. 6 (4) is a schematic diagram illustrating an example of decoded data obtained by decoding the encoded data transmitted from the distal end portion 10 to the main body portion 20 via the transmission path 30 by the ECC decoding portion 21. . In the example shown in the figure, data of three pixels having pixel numbers p1 to p3 among the decoded data decoded by the ECC decoding unit 21 is shown. In FIG. 2 (3), the pixel data of the pixel numbers p1 and p3 each contain 1 bit of incorrect data, but the ECC decoding unit 21 corrects the incorrect data. In FIG. 2 (3), the pixel data of the pixel number p2 includes 2 bits of erroneous data, but the ECC decoding unit 21 corrects the erroneous data.

上述したとおり、冗長ビットを増やすことで、ECC符号化部13の誤り訂正能力を高くすることができる。   As described above, the error correction capability of the ECC encoding unit 13 can be increased by increasing the number of redundant bits.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。本実施形態と第1の実施形態とで異なる点は、本実施形態の電子内視鏡装置の先端部は、無線伝送にて本体部にデータを伝送する点である。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. The difference between this embodiment and the first embodiment is that the tip of the electronic endoscope apparatus of this embodiment transmits data to the main body by wireless transmission.

図7は、本実施形態における電子内視鏡装置の構成を示した概略図である。図示する例では、電子内視鏡装置2は、先端部40と、本体部50とを有する。先端部40は、撮像部41と、A/D変換部42と、ECC符号化部43と、送信部44とを有する。本体部50は、受信部51と、ECC復号化部52と、画像処理部53と、表示部54とを有する。   FIG. 7 is a schematic diagram illustrating the configuration of the electronic endoscope apparatus according to the present embodiment. In the illustrated example, the electronic endoscope apparatus 2 includes a distal end portion 40 and a main body portion 50. The distal end portion 40 includes an imaging unit 41, an A / D conversion unit 42, an ECC encoding unit 43, and a transmission unit 44. The main unit 50 includes a receiving unit 51, an ECC decoding unit 52, an image processing unit 53, and a display unit 54.

撮像部41と、A/D変換部42と、ECC符号化部43との機能は、第1の実施形態の各部の機能と同様である。送信部44は、無線通信を用いて、ECC符号化部43が生成した符号化データを本体部50に送信する。   The functions of the imaging unit 41, the A / D conversion unit 42, and the ECC encoding unit 43 are the same as the functions of the respective units of the first embodiment. The transmission unit 44 transmits the encoded data generated by the ECC encoding unit 43 to the main body unit 50 using wireless communication.

受信部51は、先端部40から送信された符号化データを受信し、受信した符号化データをECC復号化部52に入力する。ECC復号化部52と、画像処理部53と、表示部54との機能は、第1の実施形態の各部の機能と同様である。   The receiving unit 51 receives the encoded data transmitted from the front end unit 40 and inputs the received encoded data to the ECC decoding unit 52. The functions of the ECC decoding unit 52, the image processing unit 53, and the display unit 54 are the same as the functions of the respective units in the first embodiment.

例えば、カプセル内視鏡のような、先端部40と本体部50との通信に無線を使用する製品の場合、有線での通信と比較して伝送速度の制約が大きく、また、ノイズによる伝送誤りが発生しやすい。さらに、カプセル内視鏡は先端部40に電源を搭載しており本体部50の電源とは独立しているため、先端部40の電力消費が大きい場合、先端部40に大きな電源を搭載する必要があることから先端部40の外形が大きくなる。   For example, in the case of a product that uses wireless communication between the distal end portion 40 and the main body portion 50, such as a capsule endoscope, the transmission speed is more limited than in wired communication, and transmission errors due to noise occur. Is likely to occur. Furthermore, since the capsule endoscope is equipped with a power source at the distal end portion 40 and is independent of the power source of the main body portion 50, it is necessary to mount a large power source at the distal end portion 40 when the power consumption of the distal end portion 40 is large. Therefore, the outer shape of the distal end portion 40 is increased.

しかしながら、本実施形態では、第1の実施形態と同様に、ECC復号化部52は、誤り訂正能力以下のビット誤りを持つデータを正しい値に訂正する。また、画像処理部53は、誤り画素位置情報で示された誤ったデータを、この周囲の誤りでないデータを元に計算した値で補間する。そのため、誤り訂正能力を低くしても誤ったデータを補間することができるので、先端部40から本体部50に伝送するデータ量を減らすことができる。   However, in the present embodiment, as in the first embodiment, the ECC decoding unit 52 corrects data having a bit error below the error correction capability to a correct value. Further, the image processing unit 53 interpolates erroneous data indicated by the error pixel position information with a value calculated based on the surrounding non-error data. Therefore, even if the error correction capability is lowered, erroneous data can be interpolated, so that the amount of data transmitted from the distal end portion 40 to the main body portion 50 can be reduced.

また、本実施形態の内視鏡装置2では、先端部40から本体部50に伝送するデータ量を減らすことができるため、先端部40の消費電力を低減させることができる。また、撮像部41と、A/D変換部42と、ECC符号化部43と、送信部44とを有する本実施形態の先端部40は、回路規模の縮小により電力消費を低減させることができる。これにより、先端部40に設けるバッテリーを小さくすることができるため、先端部40の外形を小さくすることも可能となる。   Moreover, in the endoscope apparatus 2 of the present embodiment, the amount of data transmitted from the distal end portion 40 to the main body portion 50 can be reduced, so that the power consumption of the distal end portion 40 can be reduced. Further, the distal end portion 40 of the present embodiment having the imaging unit 41, the A / D conversion unit 42, the ECC encoding unit 43, and the transmission unit 44 can reduce power consumption by reducing the circuit scale. . Thereby, since the battery provided in the front-end | tip part 40 can be made small, it also becomes possible to make the external shape of the front-end | tip part 40 small.

(第3の実施形態)
次に、本発明の第3の実施形態について説明する。本実施形態と第1の実施形態とで異なる点は、本実施形態の電子内視鏡装置は、撮影モードに応じて、冗長ビットの間引き処理を行い、誤り訂正能力を可変とする点である。
(Third embodiment)
Next, a third embodiment of the present invention will be described. The difference between this embodiment and the first embodiment is that the electronic endoscope apparatus of this embodiment performs a thinning-out process of redundant bits and makes error correction capability variable according to the photographing mode. .

例えば、伝送部のビット誤り率が大きく、誤り訂正能力を超える画素の割合が増加した場合は、画質が劣化する。そのため、伝送部の状況によっては、誤り訂正能力を大きくする必要がある。また、誤り訂正能力を大きくした場合、付加される冗長ビットも増加する。そのため、単純に誤り訂正能力を増大させると、付加される冗長ビットの増加を招くため、伝送速度の遅延や信号線数を増大させる必要がある等の問題がでてくる。   For example, when the bit error rate of the transmission unit is large and the ratio of pixels exceeding the error correction capability increases, the image quality deteriorates. Therefore, depending on the situation of the transmission unit, it is necessary to increase the error correction capability. Further, when the error correction capability is increased, the added redundant bits also increase. For this reason, if the error correction capability is simply increased, the number of redundant bits to be added is increased, which causes problems such as a delay in transmission speed and an increase in the number of signal lines.

本実施形態の電子内視鏡装置では、本体部に画像処理部が存在し、伝送中に誤りデータが発生しても誤り画素の補間処理により画質の劣化をある程度抑えることができるため、誤り訂正能力を多少減らしても画質の大幅な劣化に直結しない。故に多少の画質劣化が許容される状況においては、誤り訂正能力を減らすことが可能である。   In the electronic endoscope apparatus according to the present embodiment, an image processing unit exists in the main body, and even when error data occurs during transmission, it is possible to suppress deterioration in image quality to some extent by interpolation processing of error pixels. Even if the ability is reduced somewhat, it does not directly lead to a significant deterioration in image quality. Therefore, in a situation where some image quality degradation is allowed, the error correction capability can be reduced.

また、本実施形態では、ユーザによって、複数の撮影モードのうちから一つのモードを選択できる。例えば、多少の画質劣化が許容されるが伝送にリアルタイム性が求められる動画撮影モードと、多少の伝送待ち時間が発生しても画質劣化を極力抑える必要のある静止画撮影モードとから、ユーザの操作に応じて一つを選択する。そして、静止画を撮影する際の撮影モード「静止画撮影モード」である場合には冗長ビットの間引き処理を行わず、動画を撮影する際の撮影モード「動画撮影モード」である場合には冗長ビットの間引き処理を行う。これにより、撮影モードが動画撮影モードである場合には、先端部から本体部に送信するデータ量を減らすことができる。   In this embodiment, the user can select one mode from a plurality of shooting modes. For example, from a video shooting mode in which some image quality degradation is allowed but real-time transmission is required, and a still image shooting mode in which image quality degradation needs to be suppressed as much as possible even if some transmission waiting time occurs. Select one according to the operation. Then, when the shooting mode is “still image shooting mode” when shooting a still image, the redundant bit is not thinned out, and when the shooting mode is “movie shooting mode” when shooting a movie, it is redundant. Performs bit thinning processing. Thereby, when the shooting mode is the moving image shooting mode, the amount of data transmitted from the tip portion to the main body portion can be reduced.

図8は、本実施形態における電子内視鏡装置の構成を示した概略図である。図示する例では、電子内視鏡装置3は、先端部60と、本体部70と、伝送部80とを有する。先端部60は、撮像部61と、A/D変換部62と、ECC符号化部63と、パンクチャ部64とを有する。本体部70は、撮影モード選択部71(モード選択部)と、符号補間部72と、ECC復号化部73と、画像処理部74と、表示部75とを有する。   FIG. 8 is a schematic diagram illustrating a configuration of the electronic endoscope apparatus according to the present embodiment. In the example illustrated, the electronic endoscope apparatus 3 includes a distal end portion 60, a main body portion 70, and a transmission portion 80. The front end 60 includes an imaging unit 61, an A / D conversion unit 62, an ECC encoding unit 63, and a puncture unit 64. The main body unit 70 includes a shooting mode selection unit 71 (mode selection unit), a code interpolation unit 72, an ECC decoding unit 73, an image processing unit 74, and a display unit 75.

撮像部61と、A/D変換部62と、ECC符号化部63との機能は、第1の実施形態の各部の機能と同様である。パンクチャ部64は、本体部70から送信されるモード選択信号で特定される撮影モードに応じて、ECC復号化部63が付した冗長ビットのうち、特定の位置の冗長ビットを間引いて間引きデータを生成する。例えば、撮影モードが「静止画撮影モード」である場合には冗長ビットを間引かず、撮影モードが「動画撮影モード」である場合には、冗長ビットの最後のビットを間引く。パンクチャ部64の詳細については後述する。   The functions of the imaging unit 61, the A / D conversion unit 62, and the ECC encoding unit 63 are the same as the functions of the respective units of the first embodiment. The puncturing unit 64 thins out the thinned data by thinning out redundant bits at specific positions among the redundant bits attached by the ECC decoding unit 63 according to the shooting mode specified by the mode selection signal transmitted from the main body unit 70. Generate. For example, when the shooting mode is “still image shooting mode”, redundant bits are not thinned out, and when the shooting mode is “moving image shooting mode”, the last redundant bit is thinned out. Details of the puncture unit 64 will be described later.

伝送部80は、先端部60から本体部70に間引きデータを伝送する。伝送部80が間引きデータを先端部60から本体部70に伝送する際、伝送途中の条件によっては伝送誤りが発生する。なお、この伝送誤りは、間引きデータ中のビットが反転することを意味する。   The transmission unit 80 transmits the thinned data from the front end 60 to the main body 70. When the transmission unit 80 transmits the thinned data from the front end 60 to the main body 70, a transmission error occurs depending on the condition during transmission. This transmission error means that bits in the thinned data are inverted.

撮影モード選択部71は、使用者の操作を受けて、撮影モードを特定するモード選択信号を生成する。例えば、電子内視鏡装置3が、撮影モードとして「静止画撮影モード」と「動画撮影モード」とを備える場合、撮影モード選択部71は、使用者の操作を受けて、「動画撮影モード」と「静止画撮影モード」のいずれかを選択し、撮影モードを一意に特定するモード選択信号を生成する。また、撮影モード選択部71は、生成したモード選択信号を、伝送部80を介して先端部60に送信する。また、撮影モード選択部71は、生成したモード選択信号を符号補間部72に入力する。符号補間部72は、間引きデータとモード選択信号とに基づいて、パンクチャ部64が間引いた冗長ビットの位置に適当なビットを追加することで補間後データを生成する。また、符号補間部72は、生成した補間後データを符号化データとしてECC復号化部73に入力する。   The shooting mode selection unit 71 receives a user operation and generates a mode selection signal for specifying the shooting mode. For example, when the electronic endoscope apparatus 3 includes “still image shooting mode” and “moving image shooting mode” as shooting modes, the shooting mode selection unit 71 receives the operation of the user, and receives the “moving image shooting mode”. And “still image shooting mode” are selected, and a mode selection signal for uniquely specifying the shooting mode is generated. In addition, the shooting mode selection unit 71 transmits the generated mode selection signal to the distal end portion 60 via the transmission unit 80. In addition, the shooting mode selection unit 71 inputs the generated mode selection signal to the code interpolation unit 72. The code interpolation unit 72 generates post-interpolation data by adding an appropriate bit to the redundant bit position thinned out by the puncture unit 64 based on the thinned data and the mode selection signal. The code interpolation unit 72 inputs the generated post-interpolation data as encoded data to the ECC decoding unit 73.

ECC復号化部73と、画像処理部74と、表示部75の機能は、第1の実施形態における各部の機能と同様である。   The functions of the ECC decoding unit 73, the image processing unit 74, and the display unit 75 are the same as the functions of the respective units in the first embodiment.

次に、パンクチャ部64の詳細について説明する。図9は、本実施形態におけるパンクチャ部64の回路構成を示した概略図である。パンクチャ部64は、モード選択信号に応じて、冗長ビットを間引きする場合、単に間引きする箇所の接続を切断するのみである。接続を切断したビットを伝送時にスキップすることで、簡易な回路で間引き数の可変を実現できる。   Next, details of the puncturing unit 64 will be described. FIG. 9 is a schematic diagram illustrating a circuit configuration of the puncturing unit 64 in the present embodiment. The puncture unit 64 simply disconnects the connection at the point to be thinned out when the redundant bit is thinned out according to the mode selection signal. By skipping the disconnected bit at the time of transmission, the thinning-out number can be changed with a simple circuit.

図示する例では、パンクチャ部64は、符号化データとして、情報ビットD1〜D8と冗長ビットC1〜C6の入力を受け付ける。また、パンクチャ部64は、情報ビットD1〜D8と冗長ビットC1〜C3とをそのまま出力する構成となっており、モード選択信号に応じてスイッチ641〜643のON/OFFを切り替え、冗長ビットC4〜C6をそのまま出力する、または、冗長ビットC4〜C6のうち1つまたは複数を間引くことができる構成となっている。例えば、撮影モードが「静止画撮影モード」の場合、パンクチャ部64は、冗長ビットC4〜C6をそのまま出力する。また、撮影モードが「動画撮影モード」の場合、パンクチャ部64は、冗長ビットC4〜C5をそのまま出力し、冗長ビットC6を伝送する回路の接続を切断し、冗長ビットC5を間引く。   In the illustrated example, the puncture unit 64 receives input of information bits D1 to D8 and redundant bits C1 to C6 as encoded data. The puncture unit 64 is configured to output the information bits D1 to D8 and the redundant bits C1 to C3 as they are. The puncture unit 64 switches ON / OFF of the switches 641 to 643 according to the mode selection signal, and the redundant bits C4 to C4. C6 is output as it is, or one or a plurality of redundant bits C4 to C6 can be thinned out. For example, when the shooting mode is “still image shooting mode”, the puncturing unit 64 outputs the redundant bits C4 to C6 as they are. When the shooting mode is “moving image shooting mode”, the puncture unit 64 outputs the redundant bits C4 to C5 as they are, disconnects the circuit that transmits the redundant bit C6, and thins the redundant bit C5.

次に、誤り訂正符号の冗長ビットの間引き処理を用いた伝送誤り訂正処理について説明する。図10は、本実施形態における誤り訂正符号の冗長ビットの間引き処理を用いた伝送誤り訂正処理時のデータ例を示した概略図である。図示する例では、RAW画像データを先端部60から本体部70に送信する場合において、各部に入出力するデータの例を示している。   Next, the transmission error correction process using the redundant bit thinning process of the error correction code will be described. FIG. 10 is a schematic diagram showing an example of data at the time of transmission error correction processing using thinning-out processing of redundant bits of the error correction code in the present embodiment. In the illustrated example, when RAW image data is transmitted from the distal end portion 60 to the main body portion 70, an example of data input to and output from each portion is shown.

なお、本実施形態では、A/D変換部62が生成するRAW画像データは、画素毎に8ビットの情報ビットを有している。この情報ビットは、RAW画像データにおける、量子化された受光強度値を示す。また、ECC符号化部63が生成する符号化データは、RAW画像データの各画素のデータ毎に、6ビットの冗長ビットを付加したデータである。これにより、冗長ビットが付加された各画素のデータに2ビットの誤りが存在する場合、ECC復号化部73は、その誤りを正しいデータに訂正することができる。また、冗長ビットが付加された各画素のデータに3ビットの誤りが存在する場合、ECC復号化部73は、そのデータに誤りが含まれていることを検出することができる。   In the present embodiment, the RAW image data generated by the A / D conversion unit 62 has 8 information bits for each pixel. This information bit indicates a quantized received light intensity value in the RAW image data. The encoded data generated by the ECC encoding unit 63 is data obtained by adding 6 redundant bits to each pixel data of the RAW image data. As a result, when there is a 2-bit error in the data of each pixel to which redundant bits are added, the ECC decoding unit 73 can correct the error to correct data. When there is a 3-bit error in the data of each pixel to which redundant bits are added, the ECC decoding unit 73 can detect that the data contains an error.

図10(1)は、A/D変換部62が生成したRAW画像データの例を示した概略図である。図示する例では、A/D変換部62が生成したRAW画像データのうち、画素番号p1〜p3の3つの画素のデータを示している。また、画素番号p1〜p3の各画素のデータは、情報ビットD1〜D8を含んだデータである。なお、情報ビットD1〜D8は、それぞれ1ビットのデータを示す。   FIG. 10A is a schematic diagram illustrating an example of RAW image data generated by the A / D conversion unit 62. In the illustrated example, data of three pixels having pixel numbers p1 to p3 is shown in the RAW image data generated by the A / D conversion unit 62. The data of each pixel with pixel numbers p1 to p3 is data including information bits D1 to D8. Information bits D1 to D8 each indicate 1-bit data.

図10(2)は、A/D変換部62が生成したRAW画像データに、ECC符号化部63が冗長ビットを付加した符号化データの例を示した概略図である。図示する例では、ECC符号化部63が生成した符号化データのうち、画素番号p1〜p3の3つの画素のデータを示している。また、画素番号p1〜p3の各画素のデータは、それぞれ情報ビットD1〜D8と、冗長ビットC1〜C6とを含んだデータである。なお、冗長ビットC1〜C6は、それぞれ1ビットのデータを示す。   FIG. 10B is a schematic diagram illustrating an example of encoded data in which redundant bits are added by the ECC encoding unit 63 to the RAW image data generated by the A / D conversion unit 62. In the example shown in the figure, data of three pixels having pixel numbers p1 to p3 among the encoded data generated by the ECC encoding unit 63 is shown. The data of the pixels with pixel numbers p1 to p3 are data including information bits D1 to D8 and redundant bits C1 to C6, respectively. Redundant bits C1 to C6 each indicate 1-bit data.

図10(3)は、ECC符号化部63が生成した符号化データから、パンクチャ部64が冗長ビットを間引いた間引きデータの例を示した概略図である。図示する例は、パンクチャ部64が冗長ビットC6を間引いたデータである。具体的には、画素番号p1〜p3の各画素のデータは、それぞれ情報ビットD1〜D8と、冗長ビットC1〜C5とを含んだデータである。   FIG. 10 (3) is a schematic diagram illustrating an example of thinned data in which redundant bits are thinned out by the puncture unit 64 from the coded data generated by the ECC coding unit 63. In the example shown in the figure, the puncture unit 64 thins out the redundant bit C6. Specifically, the data of each pixel with pixel numbers p1 to p3 is data including information bits D1 to D8 and redundant bits C1 to C5, respectively.

図10(4)は、伝送路80を介して、先端部60から本体部70に送信された間引きデータの例を示した概略図である。図示する例では、伝送路80を介して、先端部60から本体部70に送信された間引きデータのうち、画素番号p1〜p3の3つの画素のデータを示している。また、伝送路80による間引きデータの伝送中に生じた誤りデータを示している。具体的には、画素番号p1の画素のデータのうち、情報ビットD4が誤ったデータであることを示している。また、画素番号p2の画素のデータのうち、情報ビットD6と、冗長ビットC3とが誤ったデータであることを示している。また、画素番号p3の画素のデータのうち、冗長ビットC1が誤ったデータであることを示している。   FIG. 10 (4) is a schematic diagram illustrating an example of the thinned data transmitted from the distal end portion 60 to the main body portion 70 via the transmission path 80. In the illustrated example, data of three pixels of pixel numbers p <b> 1 to p <b> 3 among the thinned data transmitted from the distal end portion 60 to the main body portion 70 via the transmission path 80 is illustrated. Further, error data generated during transmission of thinned data by the transmission path 80 is shown. Specifically, the information bit D4 indicates that the data of the pixel having the pixel number p1 is incorrect. Further, it is indicated that the information bit D6 and the redundant bit C3 are erroneous data among the data of the pixel of the pixel number p2. In addition, among the data of the pixel having the pixel number p3, the redundant bit C1 indicates incorrect data.

図10(5)は、伝送路80を介して先端部60から本体部70に送信された間引きデータに、符号補間部72が冗長ビットを補間した補間後データの例を示した概略図である。符号補間部72は、間引きデータが符号化データと同じビット数となるように、パンクチャ部64が冗長ビットを間引いた場所に適当なビットを追加して補間後データを生成する。なお、本実施形態では、撮影モードが「静止画撮影モード」である場合、冗長ビットは間引かれていないため、符号補間部72は間引きデータにビットを追加しない。また、撮影モードが「動画撮影モード」である場合、冗長ビットC6が間引かれているため、冗長ビットC6の位置に適当なビット「0」を追加する。   FIG. 10 (5) is a schematic diagram showing an example of post-interpolation data in which the code interpolation unit 72 interpolates redundant bits in the thinned data transmitted from the front end 60 to the main body 70 via the transmission path 80. . The code interpolation unit 72 adds post-interpolation data by adding an appropriate bit to the place where the puncture unit 64 thins out redundant bits so that the thinned data has the same number of bits as the encoded data. In the present embodiment, when the shooting mode is “still image shooting mode”, the redundant bits are not thinned out, so the code interpolation unit 72 does not add bits to the thinned data. When the shooting mode is “moving image shooting mode”, since the redundant bit C6 is thinned, an appropriate bit “0” is added to the position of the redundant bit C6.

図示する例は、パンクチャ部64が間引いた冗長ビットC6の位置に、符号補間部72が冗長ビット「0」を補間したデータを示している。具体的には、画素番号p1〜p3の各画素のデータは、それぞれ情報ビットD1〜D8と、冗長ビットC1〜C5,「0」とを含んだデータである。また、符号補間部72が補間した冗長ビット「0」は正しい値であるか否か判断出来ないため、誤ったデータとみなす。従って、画素番号p1の画素のデータは2ビットの誤りデータを含む。また、画素番号p2の画素のデータは3ビットの誤りデータを含む。また、画素番号p3の画素のデータは2ビットの誤りデータを含む。   In the example shown in the figure, data obtained by interpolating the redundant bit “0” by the code interpolation unit 72 at the position of the redundant bit C6 thinned out by the puncture unit 64 is shown. Specifically, the data of each pixel having pixel numbers p1 to p3 is data including information bits D1 to D8 and redundant bits C1 to C5 and “0”, respectively. Further, since it cannot be determined whether or not the redundant bit “0” interpolated by the code interpolation unit 72 is a correct value, it is regarded as erroneous data. Therefore, the pixel data of the pixel number p1 includes 2-bit error data. The pixel data of pixel number p2 includes 3-bit error data. In addition, the pixel data of the pixel number p3 includes 2-bit error data.

図10(6)は、符号補間部72が冗長ビットを補間した補間後データを、ECC復号化部73が復号化した復号化データの例を示した概略図である。図示する例では、ECC復号化部73が復号化した復号化データのうち、画素番号p1〜p3の3つの画素のデータを示している。図10(5)では、画素番号p1,p3の画素のデータは、それぞれ誤ったデータを2ビット含んでいたが、図10(6)に示すように、ECC復号化部73は誤ったデータを訂正している。また、図10(5)では、画素番号p2の画素のデータは、誤ったデータを3ビット含んでいたので、ECC復号化部73は、画素番号p2の画素のデータを誤ったデータであると特定し、誤り画素位置情報を生成する。   FIG. 10 (6) is a schematic diagram illustrating an example of decoded data obtained by decoding the post-interpolation data obtained by interpolating redundant bits by the code interpolation unit 72 by the ECC decoding unit 73. In the example shown in the figure, data of three pixels having pixel numbers p1 to p3 among the decoded data decoded by the ECC decoding unit 73 is shown. In FIG. 10 (5), the pixel data of the pixel numbers p1 and p3 each include 2 bits of erroneous data. However, as shown in FIG. 10 (6), the ECC decoding unit 73 stores the incorrect data. I am correcting. In FIG. 10 (5), the pixel data of pixel number p2 includes 3 bits of erroneous data, so that ECC decoding unit 73 determines that the data of pixel number p2 is incorrect data. Identify and generate error pixel location information.

画像処理部74が、復号化されたRAW画像データを補間し、出力データを生成する方法は第1の実施形態と同様の方法である。   A method in which the image processing unit 74 interpolates the decoded RAW image data and generates output data is the same method as in the first embodiment.

上述したとおり、本実施形態では、撮影モード選択部71が生成するモード選択信号に応じて、パンクチャ部64は、符号化データに含まれる冗長ビットの一部を間引く。また、符号補間部72は、モード選択信号に応じて間引かれた冗長ビットが存在していた位置に「0」を補間し、補間後データを生成する。   As described above, in this embodiment, the puncture unit 64 thins out some redundant bits included in the encoded data in accordance with the mode selection signal generated by the shooting mode selection unit 71. Further, the code interpolation unit 72 interpolates “0” at the position where the redundant bit thinned out according to the mode selection signal exists, and generates post-interpolation data.

また、ECC復号化部73は、符号補間部72が補間した「0」を誤りデータとみなして補間後データを復号化する。これにより、ECC復号化部73での誤り訂正処理においては、誤り訂正能力が間引き前と比べ低下するが、伝送部80で伝送すべきデータ量は間引き前より少なくなるため、伝送速度の向上や、伝送に用いる信号線数を減らすことができる。   Further, the ECC decoding unit 73 decodes the post-interpolation data by regarding “0” interpolated by the code interpolation unit 72 as error data. Thereby, in the error correction processing in the ECC decoding unit 73, the error correction capability is reduced as compared with that before the thinning, but the data amount to be transmitted in the transmission unit 80 is smaller than that before the thinning. The number of signal lines used for transmission can be reduced.

また、撮影モードが「動画撮影モード」であれば、間引き数を増やすことで伝送帯域を抑えることができる。また、撮影モードが「静止画撮影モード」であれば、間引き数を減らす、もしくは、間引きしないままとすることで、静止画の全ての画素を伝送するまでに時間がかかっても伝送誤り率を抑えることができる。   If the shooting mode is “moving image shooting mode”, the transmission band can be suppressed by increasing the number of thinning-outs. Also, if the shooting mode is “still image shooting mode”, the transmission error rate can be reduced even if it takes time to transmit all the pixels of the still image by reducing the number of thinning out or leaving it undecimated. Can be suppressed.

また、ECC復号化部73は、誤り訂正能力以下のビット誤りを持つデータを正しい値に訂正する。また、画像処理部74は、誤り画素位置情報で示された誤ったデータを、この周囲の誤りでないデータを元に計算した値で補間する。そのため、誤り訂正能力を低くしても誤ったデータを補間することができるので、先端部60から本体部70に伝送するデータ量を減らすことができる。   The ECC decoding unit 73 corrects data having a bit error below the error correction capability to a correct value. Further, the image processing unit 74 interpolates erroneous data indicated by the error pixel position information with a value calculated based on the surrounding non-error data. Therefore, even if the error correction capability is lowered, erroneous data can be interpolated, so that the amount of data transmitted from the front end portion 60 to the main body portion 70 can be reduced.

また、本実施形態の内視鏡装置3では、先端部60から本体部70に伝送するデータ量を減らすことができるため、伝送部80に細径の信号線を用いることができる。そのため、伝送部80と接続している先端部60の外径も小さくすることができる。   Further, in the endoscope apparatus 3 of the present embodiment, the amount of data transmitted from the distal end portion 60 to the main body portion 70 can be reduced, so that a small-diameter signal line can be used for the transmission portion 80. Therefore, the outer diameter of the tip 60 connected to the transmission unit 80 can also be reduced.

また、ECC復号化部73によって、誤り訂正能力以下のビット誤りを持つ画素のデータは完全に訂正さる。また、誤り検出能力以下のビット誤りを持つ画素のデータは、画像処理部74によって、周囲の誤っていない画素のデータに基づいて算出された値に置き換えられる。そのため、輝点や滅点を減らすことができる。   Further, the ECC decoder 73 completely corrects pixel data having a bit error less than the error correction capability. Also, the pixel data having a bit error below the error detection capability is replaced by the image processing unit 74 with a value calculated based on the surrounding non-error pixel data. Therefore, bright spots and dark spots can be reduced.

以上より、本実施形態においては、必要に応じて伝送誤り訂正能力を可変させ、要求される画質の違いにあわせた画像の出力を行うことができる。   As described above, in this embodiment, the transmission error correction capability can be varied as necessary, and an image can be output in accordance with a required difference in image quality.

(第4の実施形態)
次に、本発明の第4の実施形態について説明する。本実施形態と第3の実施形態とで異なる点は、本実施形態の電子内視鏡装置は、先端部の種類に応じて、パンクチャ部が間引く冗長ビットが決まっており、本体部は、接続されている先端部の種類を特定し、接続されている先端部が有するパンクチャ部で間引かれた冗長ビットを補間する点である。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described. The difference between this embodiment and the third embodiment is that in the electronic endoscope apparatus of this embodiment, the redundant bit to be thinned out by the puncture portion is determined according to the type of the tip portion, and the main body portion is connected. The type of the tip portion that is connected is specified, and the redundant bits thinned out by the puncture portion of the connected tip portion are interpolated.

例えば、種類Aの先端部が有するパンクチャ部は冗長ビットの最終ビットを間引き、種類Bの先端部が有するパンクチャ部は冗長ビットの最終ビットと最終ビットから2ビット目のビットを間引く。この場合、本体部は、接続されている先端部の種類を特定し、接続されている先端部が種類Aである場合、冗長ビットの最終ビットを補間する。また、本体部は、接続されている先端部が種類Bである場合、冗長ビットの最終ビットと最終ビットから2ビット目のビットを補間する。   For example, the puncture part of the leading end of type A thins out the last bit of the redundant bit, and the puncture part of the leading end of type B thins out the second bit from the last bit of the redundant bit and the last bit. In this case, the main body unit specifies the type of the connected tip part, and if the connected tip part is of type A, it interpolates the last bit of the redundant bit. Further, when the connected front end is of type B, the main body interpolates the last bit of the redundant bit and the second bit from the last bit.

図11は、本実施形態における電子内視鏡装置の構成を示した概略図である。図示する例では、電子内視鏡装置4は、先端部90と、本体部100と、伝送部110とを有する。先端部90は、撮像部91と、A/D変換部92と、ECC符号化部93と、パンクチャ部94と、先端種別記憶部95とを有する。本体部100は、先端種別判別部101(判別部)と、符号補間部102と、ECC復号化部103と、画像処理部104と、表示部105とを有する。   FIG. 11 is a schematic diagram illustrating a configuration of the electronic endoscope apparatus according to the present embodiment. In the example illustrated, the electronic endoscope apparatus 4 includes a distal end portion 90, a main body portion 100, and a transmission portion 110. The leading end 90 includes an imaging unit 91, an A / D conversion unit 92, an ECC encoding unit 93, a puncturing unit 94, and a tip type storage unit 95. The main body 100 includes a tip type discriminating unit 101 (discriminating unit), a code interpolating unit 102, an ECC decoding unit 103, an image processing unit 104, and a display unit 105.

撮像部91と、A/D変換部92と、ECC符号化部93との機能は、第3の実施形態の各部の機能と同様である。パンクチャ部94は、ECC復号化部93が付した冗長ビットのうち、先端部90の種類に応じて予め定められている特定の位置のビットを間引いて間引きデータを生成する。例えば、冗長ビットの最終のビットを間引くと予め定められている場合、パンクチャ部94は、冗長ビットの最終のビットを間引く。なお、パンクチャ部94の構成は、第3の実施形態のパンクチャ部64の構成と同様である。先端種別記憶部95は、先端部の種類を一意に特定する先端種別情報を記憶する。   The functions of the imaging unit 91, the A / D conversion unit 92, and the ECC encoding unit 93 are the same as the functions of the respective units of the third embodiment. The puncturing unit 94 generates thinned data by thinning out bits at a specific position determined in advance according to the type of the leading end portion 90 among the redundant bits attached by the ECC decoding unit 93. For example, when it is predetermined that the last bit of the redundant bit is to be thinned out, the puncture unit 94 thins out the last bit of the redundant bit. The configuration of the puncturing unit 94 is the same as the configuration of the puncturing unit 64 of the third embodiment. The tip type storage unit 95 stores tip type information that uniquely identifies the type of tip.

伝送部110は、先端種別記憶部95が記憶する先端種別情報を先端部90から本体部100に伝送する。また、伝送部110は、先端部90から本体部100に間引きデータを伝送する。伝送部110が間引きデータを先端部90から本体部100に伝送する際、伝送途中の条件によっては伝送誤りが発生する。なお、この伝送誤りは、間引きデータ中のビットが反転することを意味する。   The transmission unit 110 transmits the tip type information stored in the tip type storage unit 95 from the tip unit 90 to the main body unit 100. Further, the transmission unit 110 transmits thinned data from the distal end portion 90 to the main body portion 100. When the transmission unit 110 transmits the thinned data from the front end 90 to the main body 100, a transmission error occurs depending on the condition during transmission. This transmission error means that bits in the thinned data are inverted.

先端種別判別部101は、伝送部110が伝送した先端種別情報に基づいて、先端部90のパンクチャ部94が間引く冗長ビットを判別し、パンクチャ部94が間引く冗長ビットの位置を一意に特定するモード選択信号を生成する。また、先端種別判別部101は、生成したモード選択信号を符号補間部102に入力する。   The tip type discriminating unit 101 discriminates redundant bits that the puncture unit 94 of the tip unit 90 thins out based on the tip type information transmitted by the transmission unit 110, and uniquely specifies the position of the redundant bit that the puncture unit 94 thins out A selection signal is generated. The tip type discriminating unit 101 inputs the generated mode selection signal to the code interpolation unit 102.

符号補間部102は、間引きデータとモード選択信号とに基づいて、パンクチャ部94が間引いた冗長ビットの位置に適当なビットを追加することで補間後データを生成する。また、符号補間部102は、生成した補間後データを符号化データとしてECC復号化部103に入力する。ECC復号化部103と、画像処理部104と、表示部105の機能は、第3の実施形態における各部の機能と同様である。   The code interpolation unit 102 generates post-interpolation data by adding an appropriate bit to the redundant bit position thinned out by the puncture unit 94 based on the thinned-out data and the mode selection signal. Further, the code interpolation unit 102 inputs the generated post-interpolation data as encoded data to the ECC decoding unit 103. The functions of the ECC decoding unit 103, the image processing unit 104, and the display unit 105 are the same as the functions of the units in the third embodiment.

上述したとおり、本実施形態では、先端部90の種類毎に、パンクチャ部94が間引く冗長ビットが定められている。そして、パンクチャ部94は、符号化データに含まれる冗長ビットのうち、予め定められている冗長ビットを間引く。また、先端種別判別部101は、接続されている先端部90の種類を判別する。そして、符号補間部102は、先端部90の種類に応じて間引かれる冗長ビットが一意に定められているため、間引かれた冗長ビットが存在していた位置に「0」を補間し、補間後データを生成する。   As described above, in the present embodiment, redundant bits to be thinned out by the puncture unit 94 are determined for each type of the tip portion 90. The puncturing unit 94 thins out predetermined redundant bits among the redundant bits included in the encoded data. Further, the tip type determining unit 101 determines the type of the connected tip 90. Then, since the redundant bits to be thinned out are uniquely determined according to the type of the tip portion 90, the code interpolation unit 102 interpolates “0” at the position where the thinned redundant bits existed, Generate post-interpolation data.

また、ECC復号化部103は、符号補間部102が補間した「0」を誤りデータとみなして補間後データを復号化する。これにより、ECC復号化部103での誤り訂正処理においては、誤り訂正能力が間引き前と比べ低下するが、伝送部110で伝送すべきデータ量は間引き前より少なくなるため、伝送速度の向上や信号線数を減らすことができる。   The ECC decoding unit 103 also decodes the post-interpolation data by regarding “0” interpolated by the code interpolation unit 102 as error data. As a result, in the error correction processing in the ECC decoding unit 103, the error correction capability is reduced as compared with that before the thinning, but the amount of data to be transmitted by the transmission unit 110 is smaller than that before the thinning. The number of signal lines can be reduced.

また、先端部90の種類に応じて間引く冗長ビットを予め定めることができるため、ある種類の先端部90であれば、間引き数を増やすことで伝送帯域を抑えることができる。また、他の種類の先端部90であれば、冗長ビットの間引き数を減らす、もしくは、冗長ビットの間引きを行わないとすることで、静止画の全ての画素を伝送するまでに時間がかかっても伝送誤り率を抑えることができる。このように、先端部90の特性に合わせて、冗長ビットの間引き数を設定することができる。   Further, since the redundant bits to be thinned out can be determined in advance according to the type of the tip portion 90, if the tip portion 90 is of a certain type, the transmission band can be suppressed by increasing the thinning number. In the case of other types of leading end portions 90, it takes time to transmit all the pixels of the still image by reducing the number of redundant bits or by not performing redundant bit thinning. Can also reduce the transmission error rate. Thus, the number of redundant bits to be thinned out can be set in accordance with the characteristics of the leading end 90.

(第5の実施形態)
次に、本発明の第5の実施形態について説明する。本実施形態と第4の実施形態とで異なる点は、本実施形態の電子内視鏡装置は、先端部の種類に応じて、用いる符号化方式が異なり、本体部は、接続されている先端部の種類を特定し、接続されている先端部が用いる符号化方式に対応した方式で復号化する点である。
(Fifth embodiment)
Next, a fifth embodiment of the present invention will be described. The difference between this embodiment and the fourth embodiment is that the electronic endoscope apparatus of this embodiment differs in the encoding method used depending on the type of tip, and the main body is connected to the tip. The type of the part is specified, and decoding is performed by a method corresponding to the encoding method used by the connected tip part.

例えば、種類Aの先端部が有するECC符号化部が用いる符号化方式はハミング符号であり、種類Bの先端部が有するECC符号化部が用いる符号化方式はBCH符号であるとする。この場合、本体部は、接続されている先端部の種類を特定し、接続されている先端部が種類Aである場合、ECC復号化部はハミング符号を用いて復号化する。また、本体部は、接続されている先端部が種類Bである場合、ECC復号化部はBCH符号を用いて復号化する。   For example, it is assumed that the encoding method used by the ECC encoding unit included in the type A tip is a Hamming code, and the encoding method used by the ECC encoding unit included in the type B tip is a BCH code. In this case, the main body unit specifies the type of the connected tip part, and when the connected tip part is type A, the ECC decoding unit decodes using the Hamming code. In addition, when the connected front end is of type B, the ECC decoding unit decodes using the BCH code.

図12は、本実施形態における電子内視鏡装置の構成を示した概略図である。図示する例では、電子内視鏡装置5は、先端部120と、本体部130と、伝送部140とを有する。先端部120は、撮像部121と、A/D変換部122と、ECC符号化部123と、先端種別記憶部124とを有する。本体部130は、先端種別判別部131と、ECC復号化部132と、画像処理部133と、表示部134とを有する。   FIG. 12 is a schematic diagram illustrating a configuration of the electronic endoscope apparatus according to the present embodiment. In the example illustrated, the electronic endoscope apparatus 5 includes a distal end portion 120, a main body portion 130, and a transmission portion 140. The front end 120 includes an imaging unit 121, an A / D conversion unit 122, an ECC encoding unit 123, and a front end type storage unit 124. The main body 130 includes a tip type determination unit 131, an ECC decoding unit 132, an image processing unit 133, and a display unit 134.

撮像部121と、A/D変換部122と、先端種別記憶部124との機能は、第4の実施形態の各部の機能と同様である。ECC符号化部123は、先端部120の種類に応じて予め定められている符号化方式で、RAW画像データから符号化データを生成する。   The functions of the imaging unit 121, the A / D conversion unit 122, and the tip type storage unit 124 are the same as the functions of the units of the fourth embodiment. The ECC encoding unit 123 generates encoded data from the RAW image data by a predetermined encoding method according to the type of the front end portion 120.

伝送部140は、先端種別記憶部124が記憶する先端種別情報を先端部120から本体部130に伝送する。また、伝送部140は、先端部120から本体部130に符号化データを伝送する。伝送部140が符号化データを先端部120から本体部130に伝送する際、伝送途中の条件によっては伝送誤りが発生する。なお、この伝送誤りは、符号化データ中のビットを反転することを意味する。   The transmission unit 140 transmits the tip type information stored in the tip type storage unit 124 from the tip part 120 to the main body part 130. In addition, the transmission unit 140 transmits the encoded data from the tip part 120 to the main body part 130. When the transmission unit 140 transmits the encoded data from the front end 120 to the main body 130, a transmission error occurs depending on the condition during transmission. This transmission error means that a bit in the encoded data is inverted.

先端種別判別部131は、伝送部140が伝送した先端種別情報に基づいて、先端部120のECC符号化部123が用いる符号化方式を判別し、この符号化方式を一意に特定するモード選択信号を生成する。また、先端種別判別部131は、生成したモード選択信号をECC復号化部132に入力する。   The tip type discriminating unit 131 discriminates the encoding method used by the ECC encoding unit 123 of the tip unit 120 based on the tip type information transmitted by the transmission unit 140 and uniquely identifies this encoding method. Is generated. Further, the tip type determination unit 131 inputs the generated mode selection signal to the ECC decoding unit 132.

ECC復号化部132は、モード選択信号で一意に特定される符号化方式を用いて、符号化データに含まれる伝送誤りを、誤り訂正符号によって訂正し、復号化データと、誤り画素位置情報を生成する。画像処理部133と、表示部134の機能は、第4の実施形態における各部の機能と同様である。   The ECC decoding unit 132 corrects a transmission error included in the encoded data by using an error correction code by using an encoding method uniquely specified by the mode selection signal, and converts the decoded data and the error pixel position information. Generate. The functions of the image processing unit 133 and the display unit 134 are the same as the functions of the respective units in the fourth embodiment.

上述したとおり、本実施形態では、先端部120の種類毎に、ECC符号化部123が用いる符号化方式が異なる。また、先端種別判別部131は、接続されている先端部120の種類を判別する。そして、ECC復号化部132は、先端部120の種類に応じて用いられる符号化方式が一意に定められているため、ECC符号化部123が符号化に用いた符号化方式を用いて符号化データから復号化データを生成する。   As described above, in the present embodiment, the encoding method used by the ECC encoding unit 123 is different for each type of the tip portion 120. Further, the tip type determining unit 131 determines the type of the connected tip 120. Since the ECC decoding unit 132 uniquely determines the encoding method used in accordance with the type of the leading end portion 120, the ECC decoding unit 132 performs encoding using the encoding method used for encoding by the ECC encoding unit 123. Generate decrypted data from the data.

これにより、符号化データを生成する際に用いる符号化方式が異なる先端部120を複数種類使用する場合においても、1つの本体部130を共用することができる。   Thereby, even when a plurality of types of tip portions 120 having different encoding methods used when generating encoded data are used, one main body portion 130 can be shared.

以上、この発明の第1の実施形態から第5の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The first to fifth embodiments of the present invention have been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and does not depart from the gist of the present invention. Range design etc. are also included.

例えば、第1の実施形態および第3の実施形態〜第5の実施形態では、本体部と伝送部との間のデータの伝送を、伝送部を介して行っているが、第2の実施形態のように、先端部に送信部を備え、本体部に受信部を備えて無線通信を用いて伝送するようにしてもよい。   For example, in the first embodiment and the third to fifth embodiments, data is transmitted between the main body and the transmission unit via the transmission unit, but the second embodiment is used. As described above, a transmission unit may be provided at the tip, and a reception unit may be provided in the main body so that transmission is performed using wireless communication.

1,2,3,4,5・・・電子内視鏡装置、10,40,60,90,120・・・先端部、11,41,61,91,121・・・撮像部、12,42,62,92,122・・・A/D変換部、13,43,63,93,123・・・ECC符号化部、20,50,70,100,130・・・本体部、21,52,73,103,132・・・ECC復号化部、22,53,74,104,133・・・画像処理部、23,54,75,105,134・・・表示部、30,80,110,140・・・伝送部,44・・・送信部、51・・・受信部,64,94・・・パンクチャ部,71・・・撮影モード選択部、72,102・・・符号補間部,95,124・・・先端種別記憶部、101,131・・・先端種別判別部   1, 2, 3, 4, 5... Electronic endoscope device 10, 40, 60, 90, 120... Tip portion, 11, 41, 61, 91, 121. 42, 62, 92, 122... A / D converter, 13, 43, 63, 93, 123... ECC encoding unit, 20, 50, 70, 100, 130. 52, 73, 103, 132 ... ECC decoding unit, 22, 53, 74, 104, 133 ... image processing unit, 23, 54, 75, 105, 134 ... display unit, 30, 80, 110, 140 ... transmission unit, 44 ... transmission unit, 51 ... reception unit, 64, 94 ... puncture unit, 71 ... shooting mode selection unit, 72, 102 ... code interpolation unit , 95, 124 ... tip type storage unit, 101, 131 ... tip type discriminating unit

Claims (12)

先端部と、本体部と、前記先端部と前記本体部とを通信可能に接続する伝送部とからなる電子内視鏡装置であって、
前記先端部に設けられ、被写体を撮像して画像信号を生成する撮像部と、
前記先端部に設けられ、前記画像信号を量子化して画像データを生成するA/D変換部と、
前記先端部に設けられ、誤り訂正符号を用いて前記画像データを符号化して符号化データを生成する符号化部と、
前記本体部に設けられ、前記符号化データを復号化することにより前記画像データの伝送誤りを訂正する復号化部と、
前記本体部に設けられ、前記復号化部による訂正後に前記画像データに残る伝送誤りを補正する画像処理部と、
を有することを特徴とする電子内視鏡装置。
An electronic endoscope apparatus comprising a distal end portion, a main body portion, and a transmission portion that connects the distal end portion and the main body portion so as to communicate with each other,
An imaging unit that is provided at the tip and that captures an image of the subject to generate an image signal;
An A / D converter that is provided at the tip and generates image data by quantizing the image signal;
An encoding unit that is provided at the front end and generates encoded data by encoding the image data using an error correction code;
A decoding unit that is provided in the main body and corrects a transmission error of the image data by decoding the encoded data;
An image processing unit which is provided in the main body unit and corrects transmission errors remaining in the image data after correction by the decoding unit;
An electronic endoscope apparatus comprising:
前記復号化部は、伝送誤りの訂正が不可能だった前記画像データに含まれる画素の位置を示す誤り画素位置情報を生成し、
前記画像処理部は、前記誤り画素位置情報で特定される前記画素のデータを、画像補間により補間する
ことを特徴とする請求項1に記載の電子内視鏡装置。
The decoding unit generates error pixel position information indicating a position of a pixel included in the image data in which a transmission error cannot be corrected,
The electronic endoscope apparatus according to claim 1, wherein the image processing unit interpolates data of the pixel specified by the error pixel position information by image interpolation.
前記画像処理部は、前記誤り画素位置情報で特定される前記画素のデータを、当該画素の周囲の画素の値に基づいて算出した値に置き換える
ことを特徴とする請求項2に記載の電子内視鏡装置。
The electronic processing unit according to claim 2, wherein the image processing unit replaces the data of the pixel specified by the error pixel position information with a value calculated based on values of pixels around the pixel. Endoscopic device.
前記本体部に設けられ、前記先端部の種類を判別し、前記先端部の種類を一意に特定する判別情報を生成する判別部
を有し、
前記符号化部は、前記先端部の種類毎に定められている誤り訂正符号を用いて前記符号化データを生成し、
前記復号化部は、前記判別部が判別する前記先端部の種類に基づいて、当該先端部に設けられた前記符号化部で使用されている前記誤り訂正符号を特定し、当該誤り訂正符号を用いて前記符号化データを復号化する
ことを特徴とする請求項1から請求項3のいずれか1項に記載の電子内視鏡装置。
A discriminator provided on the main body, discriminating the type of the tip, and generating discrimination information for uniquely identifying the type of the tip;
The encoding unit generates the encoded data using an error correction code determined for each type of the tip,
The decoding unit identifies the error correction code used in the encoding unit provided at the front end based on the type of the front end determined by the determination unit, and determines the error correction code The electronic endoscope apparatus according to any one of claims 1 to 3, wherein the encoded data is decoded using the electronic endoscope apparatus.
前記先端部に設けられ、前記符号化データの一部を間引いて符号化データ長を縮めるパンクチャ部と、
前記本体部に設けられ、前記パンクチャ部が間引いた部分に信号を追加して前記符号化データ長を元に戻す符号補間部と、
を有することを特徴とする請求項1から請求項4のいずれか1項に記載の電子内視鏡装置。
A puncture unit provided at the front end portion for reducing the encoded data length by thinning out a part of the encoded data;
A code interpolation unit that is provided in the main body unit and adds a signal to a portion thinned out by the puncture unit to restore the encoded data length;
The electronic endoscope apparatus according to any one of claims 1 to 4, wherein the electronic endoscope apparatus is provided.
前記本体部に設けられ、前記パンクチャ部が間引く前記符号化データのビット数を設定するモード選択信号を出力するモード選択部
を有し、
前記パンクチャ部は、前記符号化データのうち、前記モード選択信号で特定されるビット数のデータを間引く
ことを特徴とする請求項5に記載の電子内視鏡装置。
A mode selection unit that is provided in the main body unit and outputs a mode selection signal that sets the number of bits of the encoded data to be thinned out by the puncture unit;
The electronic endoscope apparatus according to claim 5, wherein the puncturing unit thins out data of the number of bits specified by the mode selection signal from the encoded data.
前記先端部に設けられ、前記符号化データから、前記先端部の種類毎に定められている位置のデータを間引いて符号化データ長を縮めるパンクチャ部と、
前記本体部に設けられ、前記先端部の種類を判別し、前記先端部の種類を一意に特定する判別情報を生成する判別部と、
前記本体部に設けられ、前記判別部が判別する前記先端部の種類に基づいて、当該先端部に設けられた前記パンクチャ部が前記データを間引く位置を特定し、当該特定した位置に信号を追加して前記符号化データ長を元に戻す符号補間部と、
を有することを特徴とする請求項1から請求項3のいずれか1項に記載の電子内視鏡装置。
A puncture unit that is provided at the front end and thins out the encoded data length by thinning out data at positions determined for each type of the front end from the encoded data;
A discriminator provided in the main body, discriminating the type of the tip, and generating discriminating information for uniquely identifying the type of the tip;
Based on the type of the tip portion that is provided in the main body portion and is discriminated by the discriminating portion, the position of the puncture portion provided in the tip portion is thinned out and the signal is added to the specified position. A code interpolation unit for restoring the encoded data length,
The electronic endoscope apparatus according to any one of claims 1 to 3, further comprising:
先端部と本体部とからなる電子内視鏡装置であって、
前記先端部に設けられ、被写体を撮像して画像信号を生成する撮像部と、
前記先端部に設けられ、前記画像信号を量子化して画像データを生成するA/D変換部と、
前記先端部に設けられ、誤り訂正符号を用いて前記画像データを符号化して符号化データを生成する符号化部と、
前記先端部に設けられ、前記符号化データを前記本体部に送信する送信部と、
前記本体部に設けられ、前記先端部から送信された前記符号化データを受信する受信部と、
前記本体部に設けられ、前記符号化データを復号化することにより前記画像データの伝送誤りを訂正する復号化部と、
前記本体部に設けられ、前記復号化部による訂正後に前記画像データに残る伝送誤りを補正する画像処理部と、
を有することを特徴とする電子内視鏡装置。
An electronic endoscope device comprising a tip portion and a main body portion,
An imaging unit that is provided at the tip and that captures an image of the subject to generate an image signal;
An A / D converter that is provided at the tip and generates image data by quantizing the image signal;
An encoding unit that is provided at the front end and generates encoded data by encoding the image data using an error correction code;
A transmission unit provided at the tip, and transmitting the encoded data to the main body;
A receiver that is provided in the main body and receives the encoded data transmitted from the tip;
A decoding unit that is provided in the main body and corrects a transmission error of the image data by decoding the encoded data;
An image processing unit which is provided in the main body unit and corrects transmission errors remaining in the image data after correction by the decoding unit;
An electronic endoscope apparatus comprising:
前記送信部と前記受信部とは、無線通信を用いてデータの伝送を行う
ことを特徴とする請求項8に記載の電子内視鏡装置。
The electronic endoscope apparatus according to claim 8, wherein the transmission unit and the reception unit perform data transmission using wireless communication.
前記符号化部と前記復号化部で用いる誤り訂正符号は、画素ごとに符号化および復号化する誤り訂正符号である
ことを特徴とする請求項1から請求項9のいずれか1項に記載の電子内視鏡装置。
10. The error correction code used in the encoding unit and the decoding unit is an error correction code that is encoded and decoded for each pixel. 10. Electronic endoscope device.
前記撮像部は、原色フィルタまたは補色フィルタを有する単板式カラー撮像素子である
ことを特徴とする請求項1から請求項10のいずれか1項に記載の電子内視鏡装置。
The electronic endoscope apparatus according to any one of claims 1 to 10, wherein the imaging unit is a single-plate color imaging element having a primary color filter or a complementary color filter.
前記画像処理部は、復号化した前記画像データに基づいてカラー画像データを生成する
ことを特徴とする請求項11に記載の電子内視鏡装置。
The electronic endoscope apparatus according to claim 11, wherein the image processing unit generates color image data based on the decoded image data.
JP2010152991A 2010-07-05 2010-07-05 Electronic endoscope device Expired - Fee Related JP5548054B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010152991A JP5548054B2 (en) 2010-07-05 2010-07-05 Electronic endoscope device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010152991A JP5548054B2 (en) 2010-07-05 2010-07-05 Electronic endoscope device

Publications (3)

Publication Number Publication Date
JP2012011123A true JP2012011123A (en) 2012-01-19
JP2012011123A5 JP2012011123A5 (en) 2013-07-25
JP5548054B2 JP5548054B2 (en) 2014-07-16

Family

ID=45598263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010152991A Expired - Fee Related JP5548054B2 (en) 2010-07-05 2010-07-05 Electronic endoscope device

Country Status (1)

Country Link
JP (1) JP5548054B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015029856A1 (en) * 2013-08-27 2015-03-05 オリンパスメディカルシステムズ株式会社 Processing device and endoscope system
JP2015100092A (en) * 2013-11-20 2015-05-28 キヤノン株式会社 Imaging device and imaging system
JP2019217094A (en) * 2018-06-21 2019-12-26 富士フイルム株式会社 Endoscope system, endoscope, and method of predicting incommunicability of endoscope
JP2020103368A (en) * 2018-12-26 2020-07-09 富士フイルム株式会社 Endoscope, endoscope device, endoscope diagnostic method, and endoscope diagnostic program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348391A (en) * 2002-05-29 2003-12-05 Canon Inc Image pickup device
JP2008200344A (en) * 2007-02-21 2008-09-04 Hoya Corp Electronic endoscope and endoscope processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348391A (en) * 2002-05-29 2003-12-05 Canon Inc Image pickup device
JP2008200344A (en) * 2007-02-21 2008-09-04 Hoya Corp Electronic endoscope and endoscope processor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015029856A1 (en) * 2013-08-27 2015-03-05 オリンパスメディカルシステムズ株式会社 Processing device and endoscope system
JPWO2015029856A1 (en) * 2013-08-27 2017-03-02 オリンパス株式会社 Processing apparatus and endoscope system
JP2015100092A (en) * 2013-11-20 2015-05-28 キヤノン株式会社 Imaging device and imaging system
JP2019217094A (en) * 2018-06-21 2019-12-26 富士フイルム株式会社 Endoscope system, endoscope, and method of predicting incommunicability of endoscope
JP7096713B2 (en) 2018-06-21 2022-07-06 富士フイルム株式会社 Endoscope system
JP2020103368A (en) * 2018-12-26 2020-07-09 富士フイルム株式会社 Endoscope, endoscope device, endoscope diagnostic method, and endoscope diagnostic program
JP7085468B2 (en) 2018-12-26 2022-06-16 富士フイルム株式会社 Endoscopes, endoscope devices, endoscope diagnostic methods, and endoscope diagnostic programs

Also Published As

Publication number Publication date
JP5548054B2 (en) 2014-07-16

Similar Documents

Publication Publication Date Title
KR101885855B1 (en) transmission of images based on techniques estimating high resolution
CN202353700U (en) Image output device, image processing device and image pickup device
TWI686085B (en) Data transmission method of image pickup device and image sensor, information processing device, information processing method and program
US8243823B2 (en) Method and system for wireless communication of uncompressed video information
JP5548054B2 (en) Electronic endoscope device
US20070189383A1 (en) Method and system for appending redundancy to uncompressed video for transmission over wireless communication channels
EP1610485A2 (en) Device, system and method for error detection of IN-VIVO data
US20230308210A1 (en) Encoding device, encoding method, decoding device, decoding method, and program
US8429505B2 (en) Error-correction data generation apparatus and generation method
EP2456113A2 (en) Error correction methods and apparatus
WO2016035368A1 (en) Decoding device, imaging system, decoding method, encoding/ decoding method, and decoding program
JP4844629B2 (en) Apparatus and method for error correction in mobile wireless applications incorporating erasure table data
US8565542B2 (en) Data processing apparatus and data processing method
US20140177735A1 (en) Image receiving device and image receiving method
JP2012011123A5 (en)
US11962329B2 (en) Encoding device, encoding method, decoding device, decoding method, and program
JP6602713B2 (en) Endoscope device
US9621907B2 (en) System and method for transcoding data
JP2020123860A (en) Video signal transmission device
Manohara et al. Error correction scheme for uncompressed HD video over wireless
JP2010136101A (en) Imaging device
JP2005218728A (en) Endoscope
JP5806790B1 (en) Decoding device, imaging system, decoding method, encoding / decoding method, and decoding program
JP2000350213A (en) Method and system for image transmission
JP2005303654A (en) Apparatus and system for transmitting moving image

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130606

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130606

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20140226

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: 20140507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140516

R151 Written notification of patent or utility model registration

Ref document number: 5548054

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

LAPS Cancellation because of no payment of annual fees
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371