JP2019201757A - Capsule type endoscope, capsule type endoscope system, and transmission method of capsule type endoscope - Google Patents

Capsule type endoscope, capsule type endoscope system, and transmission method of capsule type endoscope Download PDF

Info

Publication number
JP2019201757A
JP2019201757A JP2018097567A JP2018097567A JP2019201757A JP 2019201757 A JP2019201757 A JP 2019201757A JP 2018097567 A JP2018097567 A JP 2018097567A JP 2018097567 A JP2018097567 A JP 2018097567A JP 2019201757 A JP2019201757 A JP 2019201757A
Authority
JP
Japan
Prior art keywords
image data
unit
error
capsule endoscope
transmission
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.)
Ceased
Application number
JP2018097567A
Other languages
Japanese (ja)
Inventor
直人 小出
Naoto Koide
直人 小出
慎一 中島
Shinichi Nakajima
慎一 中島
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 JP2018097567A priority Critical patent/JP2019201757A/en
Publication of JP2019201757A publication Critical patent/JP2019201757A/en
Ceased legal-status Critical Current

Links

Images

Abstract

To provide a capsule type endoscope, a capsule type endoscope system, and a transmission method of the capsule type endoscope capable of transmitting image data efficiently while suppressing an increase in a memory and power consumption.SOLUTION: A capsule type endoscope includes: an imaging unit for generating image data; a movement detection unit for detecting a movement amount of the capsule type endoscope when capturing the image data; a storage unit for storing the image data of the number set beforehand in association with the movement amount; a transmission/reception unit for transmitting the image data and identification information, and receiving error notification including identification information on the image data determined to be erroneous from an external reception device for receiving the image data; and an image selection unit for comparing the movement amount of the image data determined to be erroneous with the movement amount of the image data determined to be erroneous which is yet to be transmitted, and selecting the image data to be transmitted. Upon receipt of the error notification, the transmission/reception unit transmits the image data to be transmitted, which is selected by the image selection unit and the identification information for the image data.SELECTED DRAWING: Figure 2

Description

本発明は、被検体内に導入されるカプセル型内視鏡、カプセル型内視鏡システム及びカプセル型内視鏡の送信方法に関するものである。   The present invention relates to a capsule endoscope introduced into a subject, a capsule endoscope system, and a transmission method of the capsule endoscope.

従来、患者等の被検体の体内に導入されて被検体内を観察する医用観察装置として、内視鏡が広く普及している。また、近年では、カプセル型の筐体内部に撮像装置やこの撮像装置によって撮像された画像信号を体外に無線送信する通信装置等を備えた飲み込み型の画像取得装置であるカプセル型内視鏡が開発されている。カプセル型内視鏡は、被検体内の観察のために患者の口から飲み込まれた後、被検体から自然排出されるまでの間、例えば食道、胃、小腸などの臓器の内部をその蠕動運動にしたがって移動し、順次撮像する。   2. Description of the Related Art Conventionally, endoscopes are widely used as medical observation apparatuses that are introduced into the body of a subject such as a patient and observe the inside of the subject. In recent years, a capsule endoscope, which is a swallowable image acquisition device, includes an imaging device inside a capsule housing and a communication device that wirelessly transmits an image signal captured by the imaging device to the outside of the body. Has been developed. Capsule endoscopes are peristaltic movements inside organs such as the esophagus, stomach, and small intestine after being swallowed from the patient's mouth for observation inside the subject and before being spontaneously discharged from the subject. To move and take pictures sequentially.

被検体内を移動する間、カプセル型内視鏡によって撮像された画像データは、順次無線通信によって体外に送信され、体外の受信装置の内部もしくは外部に設けられたメモリに蓄積されるか、または受信装置に設けられたディスプレイに画像表示される。医師又は看護師は、メモリに蓄積された画像データを、受信装置を差し込んだクレードルを経由して情報処理装置に取り込んで、この情報処理装置のディスプレイに表示させた画像に基づいて診断を行うことができる。   While moving inside the subject, image data captured by the capsule endoscope is sequentially transmitted to the outside of the body by wireless communication and stored in a memory provided inside or outside the receiving apparatus outside the body, or An image is displayed on a display provided in the receiving apparatus. The doctor or nurse takes the image data stored in the memory into the information processing device via the cradle into which the receiving device is inserted, and makes a diagnosis based on the image displayed on the display of the information processing device. Can do.

無線通信をする際、受信装置側で画像データを適切に受信できなかった場合には、当該画像データを再送信することが好ましい。受信エラーとなった画像データを再送信する技術として、送信する画像データについて、フレーム内符号化画像(Iピクチャ)データ、フレーム間順方向予測符号化画像(Pピクチャ)データ、双方向予測符号化画像(Bピクチャ)データを作成し、送信側においてエラー通知を受けた場合に、次に送信する画像データとの優先順位を比較して、優先度の高い画像データを送信する技術が知られている。   When wireless communication is performed, if image data cannot be properly received on the receiving device side, it is preferable to retransmit the image data. As a technique for retransmitting image data in which a reception error has occurred, intra-frame encoded image (I picture) data, inter-frame forward predictive encoded image (P picture) data, bidirectional predictive encoding A technique is known in which image (B picture) data is created, and when an error notification is received on the transmission side, priority is compared with the next image data to be transmitted, and image data having a high priority is transmitted. Yes.

特開2004−328022号公報JP 2004-328022 A

しかしながら、画像データを再送する構成とすると、メモリの増大や消費電力の増大を招いてしまう。カプセル型内視鏡の場合、メモリや消費電力を増大させると、カプセル型内視鏡が大型化してしまう。カプセル型内視鏡の大型化を抑制するという観点から、メモリおよび消費電力は増大させないことが望まれる。また、カプセル型内視鏡では、取得した画像データから被検体内を全体的に確認できる画像の取得が望まれている。   However, if the image data is retransmitted, the memory and power consumption increase. In the case of a capsule endoscope, if the memory and power consumption are increased, the capsule endoscope will be enlarged. From the viewpoint of suppressing the increase in size of the capsule endoscope, it is desired that the memory and the power consumption are not increased. Further, in a capsule endoscope, it is desired to acquire an image that allows the entire interior of the subject to be confirmed from the acquired image data.

本発明は、上記に鑑みてなされたものであって、メモリおよび消費電力の増大を抑制しつつ、画像データを効率的に送信することができるカプセル型内視鏡、カプセル型内視鏡システム及びカプセル型内視鏡の送信方法を提供することを目的とする。   The present invention has been made in view of the above, and is capable of efficiently transmitting image data while suppressing an increase in memory and power consumption, and a capsule endoscope system, a capsule endoscope system, and It is an object of the present invention to provide a transmission method for a capsule endoscope.

上述した課題を解決し、目的を達成するために、本発明に係るカプセル型内視鏡は、被検体内に導入されるカプセル型内視鏡であって、前記被検体内を撮像して画像データを生成する撮像部と、前記画像データを撮像した際の前記カプセル型内視鏡の動き量を検出する検出部と、予め設定されている数の前記画像データを、前記動き量と対応付けて記憶する記憶部であって、撮像時刻が最も古い画像データを撮像時刻が最も新しい画像データで上書きして記憶する記憶部と、前記画像データ及び当該画像データの識別情報を送信するとともに、前記画像データを受信する外部の受信装置から、受信エラーと判定された前記画像データの識別情報を含む エラー通知を受信する送受信部と、前記エラー通知の前記識別情報に対応する第1の画像データの第1の動き量と、前記記憶部に記憶されている未送信の少なくとも一つの第2の画像データの第2の動き量とを比較することによって、送信対象の画像データを選択する選択部と、を備え、前記送受信部は、前記エラー通知を受信した場合、前記選択部が選択した前記送信対象の画像データと、当該画像データ の識別情報とを送信することを特徴とする。   In order to solve the above-described problems and achieve the object, a capsule endoscope according to the present invention is a capsule endoscope introduced into a subject, and images the inside of the subject by imaging. An imaging unit that generates data, a detection unit that detects a motion amount of the capsule endoscope when the image data is captured, and a preset number of the image data are associated with the motion amount A storage unit for storing the image data with the oldest imaging time overwritten with the image data with the newest imaging time, and transmitting the image data and identification information of the image data, A transmission / reception unit that receives an error notification including identification information of the image data determined to be a reception error from an external reception device that receives the image data, and a first image corresponding to the identification information of the error notification The image data to be transmitted is selected by comparing the first motion amount of the data and the second motion amount of the at least one second image data not yet transmitted stored in the storage unit. And a transmission / reception unit that, when receiving the error notification, transmits the image data to be transmitted selected by the selection unit and identification information of the image data.

また、本発明に係るカプセル型内視鏡は、上記発明において、前記選択部は、前記第1の動き量が前記第2の動き量以上である場合、前記第1の画像データを送信対象として選択するとともに、前記第2の画像データのうち前記第2の動き量が最も小さい第2の画像データを送信対象から除外し、前記第1の動き量が前記第2の動き量より小さい場合、前記第1の画像データを送信対象から除外することを特徴とする。   Further, in the capsule endoscope according to the present invention, in the above invention, the selection unit sets the first image data as a transmission target when the first movement amount is equal to or larger than the second movement amount. When selecting, excluding the second image data having the smallest second movement amount from the second image data from the transmission target, and when the first movement amount is smaller than the second movement amount, The first image data is excluded from transmission targets.

また、本発明に係るカプセル型内視鏡は、上記発明において、前記送受信部は、前記エラー通知を受信した場合、前記選択部が選択した前記送信対象の画像データと、当該画像データの識別情報と、画像選択結果に関する情報とを送信することを特徴とする。   In the capsule endoscope according to the present invention, in the above invention, when the transmission / reception unit receives the error notification, the transmission target image data selected by the selection unit and identification information of the image data And information related to the image selection result.

また、本発明に係るカプセル型内視鏡システムは、被検体内に導入されるカプセル型内視鏡であって、前記被検体内を撮像して画像データを生成する撮像部と、前記画像データを撮像した際の前記カプセル型内視鏡の動き量を検出する検出部と、予め設定されている数の前記画像データを、前記動き量と対応付けて記憶する記憶部であって、撮像時刻が最も古い画像データを撮像時刻が最も新しい画像データで上書きして記憶する記憶部と、前記画像データ及び当該画像データの識別情報を送信するとともに、受信エラーと判定された前記画像データの識別情報を含むエラー通知を受信する送受信部と、前記エラー通知の前記識別情報に対応する第1の画像データの第1の動き量と、前記記憶部に記憶されている未送信の少なくとも一つの第2の画像データの第2の動き量とを比較することによって、送信対象の画像データを選択する選択部と、を有するカプセル型内視鏡と、前記カプセル型内視鏡が送信した前記画像データを受信する受信装置であって、前記画像データの受信時にエラーが生じているか否かを判定し、エラーが生じていると判定した場合に、前記カプセル型内視鏡に、エラー判定した画像データの識別情報を含むエラー通知を行う受信装置と、を備え、前記送受信部は、前記エラー通知を受信した場合、前記選択部が選択した前記送信対象の画像データと、当該画像データの識別情報とを送信することを特徴とする。   The capsule endoscope system according to the present invention is a capsule endoscope that is introduced into a subject, the imaging unit that images the inside of the subject and generates image data, and the image data A detection unit that detects the amount of movement of the capsule endoscope at the time of imaging, and a storage unit that stores a preset number of the image data in association with the amount of movement, the imaging time A storage unit that overwrites and stores the oldest image data with the image data with the latest imaging time, and transmits the image data and identification information of the image data, and the identification information of the image data determined to be a reception error A transmission / reception unit that receives an error notification including: a first motion amount of first image data corresponding to the identification information of the error notification; and at least one untransmitted first image stored in the storage unit A capsule endoscope having a selection unit that selects image data to be transmitted by comparing the second movement amount of the image data of the image data, and the image data transmitted by the capsule endoscope A receiving device that determines whether or not an error has occurred during reception of the image data, and determines that an error has occurred; A receiving device that performs error notification including identification information, and the transmission / reception unit, when receiving the error notification, includes the image data to be transmitted selected by the selection unit and the identification information of the image data. It is characterized by transmitting.

また、本発明に係るカプセル型内視鏡の送信方法は、被検体内に導入されるカプセル型内視鏡の送信方法であって、前記被検体内を撮像して画像データを生成する撮像ステップと、前記画像データを撮像した際の前記カプセル型内視鏡の動き量を検出する検出ステップと、予め設定されている数の前記画像データを、前記動き量と対応付けて記憶する記憶ステップであって、撮像時刻が最も古い画像データを撮像時刻が最も新しい画像データで上書きして記憶する記憶ステップと、前記画像データ及び当該画像データの識別情報を送信する送信ステップと、前記画像データを受信する外部の受信装置から、受信エラーと判定された前記画像データの識別情報を含むエラー通知を受信する受信ステップと、前記エラー通知の前記識別情報に対応する第1の画像データの第1の動き量と、記憶部に記憶されている未送信の少なくとも一つの第2の画像データの第2の動き量とを比較することによって、送信対象の画像データを選択する選択ステップと、を含み、前記送信ステップは、前記エラー通知を受信した場合、前記選択ステップで選択した前記送信対象の画像データと、当該画像データに関連付けられた識別情報とを送信することを特徴とする。   The capsule endoscope transmission method according to the present invention is a capsule endoscope transmission method introduced into a subject, and is an imaging step of imaging the subject and generating image data. A detection step of detecting the amount of movement of the capsule endoscope when the image data is imaged, and a storage step of storing a preset number of the image data in association with the amount of movement A storage step of overwriting and storing the image data having the oldest imaging time with the image data having the latest imaging time, a transmitting step of transmitting the image data and identification information of the image data, and receiving the image data A reception step of receiving an error notification including identification information of the image data determined to be a reception error from an external receiving device, and corresponding to the identification information of the error notification Image data to be transmitted by comparing the first motion amount of the first image data and the second motion amount of at least one untransmitted second image data stored in the storage unit. A selection step for selecting the image data, and when the error notification is received, the transmission step transmits the image data to be transmitted selected in the selection step and the identification information associated with the image data. It is characterized by that.

本発明によれば、メモリおよび消費電力の増大を抑制しつつ、画像データを効率的に送信することができるという効果を奏する。   According to the present invention, it is possible to efficiently transmit image data while suppressing an increase in memory and power consumption.

図1は、本発明の実施の形態1に係るカプセル型内視鏡システムの概略構成を示す模式図である。FIG. 1 is a schematic diagram showing a schematic configuration of a capsule endoscope system according to Embodiment 1 of the present invention. 図2は、本発明の実施の形態1に係るカプセル型内視鏡システムの概略構成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of the capsule endoscope system according to the first embodiment of the present invention. 図3は、本発明の実施の形態1に係るカプセル型内視鏡システムが行う送受信処理を示すフローチャートである。FIG. 3 is a flowchart showing a transmission / reception process performed by the capsule endoscope system according to the first embodiment of the present invention. 図4は、本発明の実施の形態1に係るカプセル型内視鏡システムが行う送受信処理を説明する図である。FIG. 4 is a diagram illustrating a transmission / reception process performed by the capsule endoscope system according to the first embodiment of the present invention. 図5は、本発明の実施の形態1の変形例1に係るカプセル型内視鏡システムが行う送受信処理を示すフローチャートである。FIG. 5 is a flowchart showing a transmission / reception process performed by the capsule endoscope system according to the first modification of the first embodiment of the present invention. 図6は、本発明の実施の形態2に係るカプセル型内視鏡システムの概略構成を示すブロック図である。FIG. 6 is a block diagram showing a schematic configuration of the capsule endoscope system according to the second embodiment of the present invention. 図7は、本発明の実施の形態2に係るカプセル型内視鏡システムが行う送受信処理を示すフローチャートである。FIG. 7 is a flowchart showing a transmission / reception process performed by the capsule endoscope system according to the second embodiment of the present invention.

以下に、本発明に係る実施の形態として、医療用のカプセル型内視鏡を使用するカプセル型内視鏡システムについて説明する。なお、図面の記載において、同一部分には同一の符号を付している。また、図面は模式的なものであり、各部材の厚みと幅との関係、各部材の比率などは、現実と異なることに留意する必要がある。   Hereinafter, as an embodiment according to the present invention, a capsule endoscope system using a medical capsule endoscope will be described. In the description of the drawings, the same portions are denoted by the same reference numerals. The drawings are schematic, and it is necessary to note that the relationship between the thickness and width of each member, the ratio of each member, and the like are different from the actual ones.

(実施の形態1)
図1は、本発明の実施の形態1に係るカプセル型内視鏡システムの概略構成を示す模式図である。図1に示すカプセル型内視鏡システム1は、被検体H内に導入されて該被検体H内を撮像することによって画像データを生成し、無線信号に重畳して電波に乗せて送信するカプセル型内視鏡2と、カプセル型内視鏡2から送信された無線信号を、被検体Hに装着された複数の受信アンテナ3a〜3hを備えた受信アンテナユニット3を経由して受信する受信装置4と、カプセル型内視鏡2が撮像した画像信号を、クレードル5aを経由して、受信装置4から取り込み、該画像信号を処理して、被検体H内の画像を生成する処理装置5と、を備える。処理装置5によって生成された画像は、例えば、表示装置6から表示出力される。
(Embodiment 1)
FIG. 1 is a schematic diagram showing a schematic configuration of a capsule endoscope system according to Embodiment 1 of the present invention. A capsule endoscope system 1 shown in FIG. 1 is a capsule that is introduced into a subject H to generate image data by imaging the subject H, and superimposes the radio signal on a radio wave to transmit. Type endoscope 2 and a receiving device that receives a radio signal transmitted from capsule endoscope 2 via receiving antenna unit 3 including a plurality of receiving antennas 3a to 3h attached to subject H 4 and a processing device 5 that captures an image signal captured by the capsule endoscope 2 from the receiving device 4 via the cradle 5a and processes the image signal to generate an image in the subject H. . The image generated by the processing device 5 is output from the display device 6, for example.

図2は、本発明の実施の形態1に係るカプセル型内視鏡システムの概略構成を示すブロック図である。カプセル型内視鏡2は、撮像部21、照明部22、制御部23、無線通信部24、アンテナ25、動き検出部26、メモリ27、及び電源部28を備える。カプセル型内視鏡2は、被検体Hが嚥下可能な大きさのカプセル形状の筐体に上述した各構成部品を内蔵した装置である。   FIG. 2 is a block diagram showing a schematic configuration of the capsule endoscope system according to the first embodiment of the present invention. The capsule endoscope 2 includes an imaging unit 21, an illumination unit 22, a control unit 23, a wireless communication unit 24, an antenna 25, a motion detection unit 26, a memory 27, and a power supply unit 28. The capsule endoscope 2 is a device in which each of the above-described components is incorporated in a capsule-shaped housing having a size that allows the subject H to swallow.

撮像部21は、例えば、受光面に結像された光学像から被検体H内を撮像した画像データを生成して出力する撮像素子と、該撮像素子の受光面側に配設された対物レンズ等の光学系とを含む。撮像素子は、いずれも被検体Hからの光を受光する複数の画素がマトリックス状に配列され、画素が受光した光に対して光電変換することによって、画像データを生成する。撮像部21は、マトリックス状に配列されている複数の画素に対して、水平ラインごとに画素値を読み出して、該水平ラインごとに同期信号が付与された複数のラインデータを含む画像データを生成する。撮像部21は、CCD(Charge Coupled Device)撮像素子や、CMOS(Complementary Metal Oxide Semiconductor)撮像素子によって構成される。   The imaging unit 21 includes, for example, an imaging element that generates and outputs image data obtained by imaging the subject H from an optical image formed on the light receiving surface, and an objective lens disposed on the light receiving surface side of the imaging element. And other optical systems. In the imaging element, a plurality of pixels that receive light from the subject H are arranged in a matrix, and image data is generated by performing photoelectric conversion on the light received by the pixels. The imaging unit 21 reads pixel values for each horizontal line for a plurality of pixels arranged in a matrix, and generates image data including a plurality of line data to which a synchronization signal is assigned for each horizontal line To do. The imaging unit 21 includes a CCD (Charge Coupled Device) imaging device or a CMOS (Complementary Metal Oxide Semiconductor) imaging device.

照明部22は、照明光である白色光を発生する白色LED(Light Emitting Diode)等によって構成される。なお、白色LEDのほか、出射波長帯域の異なる複数のLEDやレーザー光源等の光を合波することで白色光を生成する構成としてもよいし、キセノンランプや、ハロゲンランプ等を用いて構成してもよい。   The illumination unit 22 includes a white LED (Light Emitting Diode) that generates white light as illumination light. In addition to white LEDs, a configuration may be adopted in which white light is generated by combining light from a plurality of LEDs or laser light sources having different emission wavelength bands, or a xenon lamp or a halogen lamp is used. May be.

制御部23は、カプセル型内視鏡2の各構成部品の動作処理を制御する。制御部23は、例えば、撮像部21が撮像処理を行う場合には、撮像素子に露光処理及び読み出し処理を実行させるとともに、照明部22に、撮像部21の露光タイミングに応じて照明光を照射させる。制御部23は、CPU(Central Processing Unit)等の汎用プロセッサやASIC(Application Specific Integrated Circuit)等の特定の機能を実行する各種演算回路等の専用プロセッサを用いて構成される。   The control unit 23 controls the operation process of each component of the capsule endoscope 2. For example, when the imaging unit 21 performs an imaging process, the control unit 23 causes the imaging element to perform an exposure process and a reading process, and irradiates the illumination unit 22 with illumination light according to the exposure timing of the imaging unit 21. Let The control unit 23 is configured using a general-purpose processor such as a CPU (Central Processing Unit) or a dedicated processor such as various arithmetic circuits that execute specific functions such as an ASIC (Application Specific Integrated Circuit).

また、制御部23は、受信装置4側で受信エラーが発生した際に、送信する画像を選択する画像選択部23aを有する。画像選択部23aは、受信装置4からエラー通知を受信すると、動き検出部26が算出した動き量に基づいて、送信対象とする画像を選択する。   The control unit 23 also includes an image selection unit 23a that selects an image to be transmitted when a reception error occurs on the reception device 4 side. When receiving the error notification from the receiving device 4, the image selection unit 23 a selects an image to be transmitted based on the amount of motion calculated by the motion detection unit 26.

無線通信部24は、撮像部21から出力された画像データに変調処理を施して、外部に送信する。無線通信部24は、撮像部21から出力された画像データに対してA/D変換及び所定の信号処理を施し、デジタル形式の画像データを取得し、関連情報とともに無線信号に重畳して、アンテナ25から外部に送信する。関連情報には、カプセル型内視鏡2の個体を識別するために割り当てられたカプセル型内視鏡2の識別情報(例えばシリアル番号)や、送信する画像データの識別情報(例えば後述する撮像画像番号)等が含まれる。
また、無線通信部24は、受信装置4から送信される制御信号を、アンテナ25から受信する。
The wireless communication unit 24 modulates the image data output from the imaging unit 21 and transmits the image data to the outside. The wireless communication unit 24 performs A / D conversion and predetermined signal processing on the image data output from the imaging unit 21, acquires digital image data, and superimposes the image data together with related information on the wireless signal to 25 to the outside. The related information includes identification information (for example, serial number) of the capsule endoscope 2 assigned to identify the individual of the capsule endoscope 2, and identification information of image data to be transmitted (for example, a captured image to be described later) Number) and the like.
In addition, the wireless communication unit 24 receives a control signal transmitted from the receiving device 4 from the antenna 25.

動き検出部26は、撮像部21から出力された画像信号を用いて、画像の動きを検出する。動き検出部26は、加速度センサや、画像間の差(パターンマッチング)等の公知の方法を用いて動きを検出する。動き検出部26は、検出した動きを数値化して動き量を算出する。動き検出部26は、検出結果が動きベクトルである場合、ベクトルの大きさを動き量とする。動き検出部26は、CPU等の汎用プロセッサやASIC等の特定の機能を実行する各種演算回路等の専用プロセッサを用いて構成される。   The motion detection unit 26 detects the motion of the image using the image signal output from the imaging unit 21. The motion detection unit 26 detects motion using a known method such as an acceleration sensor or a difference between images (pattern matching). The motion detector 26 calculates the amount of motion by digitizing the detected motion. When the detection result is a motion vector, the motion detection unit 26 uses the magnitude of the vector as the amount of motion. The motion detection unit 26 is configured using a general-purpose processor such as a CPU or a dedicated processor such as various arithmetic circuits that execute specific functions such as an ASIC.

メモリ27は、制御部23が各種動作を実行するための実行プログラム及び制御プログラム並びに閾値等のパラメータを記憶する。また、メモリ27は、無線通信部24において信号処理が施された画像データ等を一時的に記憶する。本実施の形態1において、メモリ27は、5フレーム分の画像データを、動き量と関連付けて記憶する。メモリ27は、新たに画像データが入力されると、取得時刻が最も古い画像データを削除して、入力された画像データを新たに記憶する。すなわち、メモリ27は、取得時刻が最も古い画像データを最新の画像データで上書きする。この際、メモリの格納位置には、No.1〜No.5のメモリ番号が付されており、入力される画像データは、No.1、2、3、4、5、1、2、・・・の順に各格納位置に記憶される。なお、メモリ27が記憶する画像データのフレーム数は、5つに限らない。また、取得時刻とは、画像を撮像した撮像時刻等、被写体を撮像して画像データを生成した時刻をさす。メモリ27は、揮発性メモリや、不揮発性メモリ、又はその組み合わせによって構成される。具体的に、メモリ27は、RAM(Random Access Memory)、ROM(Read Only Memory)等によって構成される。   The memory 27 stores an execution program and a control program for the controller 23 to execute various operations, and parameters such as a threshold value. Further, the memory 27 temporarily stores image data and the like that have been subjected to signal processing in the wireless communication unit 24. In the first embodiment, the memory 27 stores image data for five frames in association with the amount of motion. When new image data is input, the memory 27 deletes the image data with the oldest acquisition time and newly stores the input image data. That is, the memory 27 overwrites the image data with the oldest acquisition time with the latest image data. At this time, the storage location of the memory is No. 1-No. 5 is assigned, and the input image data is No. It is stored in each storage position in the order of 1, 2, 3, 4, 5, 1, 2,. Note that the number of frames of image data stored in the memory 27 is not limited to five. The acquisition time refers to a time when an image of the subject is captured and image data is generated, such as an imaging time when the image is captured. The memory 27 is configured by a volatile memory, a nonvolatile memory, or a combination thereof. Specifically, the memory 27 includes a RAM (Random Access Memory), a ROM (Read Only Memory), and the like.

電源部28は、ボタン電池等からなるバッテリと、各部に電力を供給する電源回路と、当該電源部28のオンオフ状態を切り替える電源スイッチとを含み、電源スイッチがオンとなった後、カプセル型内視鏡2内の各部に電力を供給する。なお、電源スイッチは、例えば外部の磁力によってオンオフ状態が切り替えられるリードスイッチからなり、カプセル型内視鏡2の使用前(被検体Hが嚥下する前)に、該カプセル型内視鏡2に外部から磁力を印加することによってオン状態に切り替えられる。   The power supply unit 28 includes a battery including a button battery, a power supply circuit that supplies power to each unit, and a power switch that switches an on / off state of the power supply unit 28. After the power switch is turned on, Electric power is supplied to each part in the endoscope 2. The power switch is a reed switch whose on / off state is switched by an external magnetic force, for example, and is externally connected to the capsule endoscope 2 before the capsule endoscope 2 is used (before the subject H swallows). Is turned on by applying a magnetic force.

このようなカプセル型内視鏡2は、被検体Hに嚥下された後、臓器の蠕動運動等によって被検体Hの消化管内を移動しつつ、生体部位(食道、胃、小腸、及び大腸等)を所定の周期(例えば0.5秒周期)で順次撮像する。そして、この撮像動作によって取得された画像信号及び関連情報を受信装置4に順次無線送信する。   Such a capsule endoscope 2 is swallowed by the subject H and then moves in the digestive tract of the subject H by peristaltic movement of the organ, etc. Are sequentially imaged at a predetermined cycle (for example, a cycle of 0.5 seconds). Then, the image signal and the related information acquired by the imaging operation are sequentially wirelessly transmitted to the receiving device 4.

受信装置4は、受信部41、送信部42、エラー判定部43、操作部44、データ送受信部45、出力部46、記憶部47、制御部48、及び電源部49を備える。   The reception device 4 includes a reception unit 41, a transmission unit 42, an error determination unit 43, an operation unit 44, a data transmission / reception unit 45, an output unit 46, a storage unit 47, a control unit 48, and a power supply unit 49.

受信部41は、カプセル型内視鏡2が無線送信した無線信号を受信する。具体的には、カプセル型内視鏡2から無線送信された画像データ及び関連情報を、受信アンテナユニット3を経由して受信する。受信部41は、受信強度測定部41aを有する。受信部41は、受信した画像データに対し、復調処理などの所定の信号処理を施す。受信部41は、CPU等の汎用プロセッサやASIC等の特定の機能を実行する各種演算回路等の専用プロセッサを用いて構成される。   The receiving unit 41 receives a radio signal wirelessly transmitted by the capsule endoscope 2. Specifically, image data and related information wirelessly transmitted from the capsule endoscope 2 are received via the receiving antenna unit 3. The reception unit 41 includes a reception intensity measurement unit 41a. The receiving unit 41 performs predetermined signal processing such as demodulation processing on the received image data. The receiving unit 41 is configured using a general-purpose processor such as a CPU or a dedicated processor such as various arithmetic circuits that execute specific functions such as an ASIC.

受信強度測定部41aは、受信アンテナ3a〜3hが受信した無線信号の受信強度(RSSI:Received Signal Strength Indicator)を測定する。受信強度測定部41aは、CPU等の汎用プロセッサやASIC等の特定の機能を実行する各種演算回路等の専用プロセッサを用いて構成される。   The reception strength measurement unit 41a measures the reception strength (RSSI: Received Signal Strength Indicator) of the radio signal received by the reception antennas 3a to 3h. The reception intensity measurement unit 41a is configured using a general-purpose processor such as a CPU or a dedicated processor such as various arithmetic circuits that execute specific functions such as an ASIC.

送信部42は、制御部48から出力される画像のエラー情報やカプセルのモード切替情報等、カプセルに送信する情報に変調処理を施し、アンテナ42aによってカプセル型内視鏡2に送信する。   The transmission unit 42 modulates information to be transmitted to the capsule, such as image error information output from the control unit 48 and capsule mode switching information, and transmits the information to the capsule endoscope 2 via the antenna 42a.

エラー判定部43は、受信部41が無線信号をエラーなく受信したか否かを判定する。具体的に、エラー判定部43は、無線信号に含まれる同期信号の数を計数し、計数した同期信号と、記憶部47に記憶されている閾値とを比較することによって、受信部41が受信した画像データにエラーが生じているか否かを判定する。画像信号に含まれる同期信号は、例えば、1フレームの画像につき、約300個付与されている。同期信号計数部403は、画像信号を誤りなく受信できた場合にはすべての同期信号を取得できるため、約300の同期信号を計数することになる。一方、電波干渉が発生した場合には、同期信号の一部が受信できず、計数結果が300に満たないことがありうる。本実施の形態1では、例えば、許容される度合いの電波干渉が生じた場合に取得できる同期信号の数に基づいて、閾値が設定される。エラー判定部43は、判定結果を制御部48に出力する。エラー判定部43は、CPU等の汎用プロセッサやASIC等の特定の機能を実行する各種演算回路等の専用プロセッサを用いて構成される。   The error determination unit 43 determines whether or not the reception unit 41 has received a wireless signal without error. Specifically, the error determination unit 43 counts the number of synchronization signals included in the wireless signal, and compares the counted synchronization signal with the threshold value stored in the storage unit 47, so that the reception unit 41 receives the signal. It is determined whether or not an error has occurred in the processed image data. For example, about 300 synchronization signals included in the image signal are assigned to one frame image. Since the synchronization signal counting unit 403 can acquire all the synchronization signals when the image signal can be received without error, it counts about 300 synchronization signals. On the other hand, when radio wave interference occurs, a part of the synchronization signal cannot be received and the counting result may be less than 300. In the first embodiment, for example, the threshold is set based on the number of synchronization signals that can be acquired when radio wave interference of an allowable level occurs. The error determination unit 43 outputs the determination result to the control unit 48. The error determination unit 43 is configured using a general-purpose processor such as a CPU or a dedicated processor such as various arithmetic circuits that execute specific functions such as an ASIC.

操作部44は、ユーザが当該受信装置4に対して各種設定情報や指示情報を入力する際に用いられる入力デバイスである。操作部44は、例えば受信装置4の操作パネルに設けられたスイッチ、ボタン等によって構成される。   The operation unit 44 is an input device used when the user inputs various setting information and instruction information to the receiving device 4. The operation unit 44 includes, for example, switches and buttons provided on the operation panel of the receiving device 4.

データ送受信部45は、処理装置5と通信可能な状態で接続された際に、記憶部47に記憶された画像データ及び関連情報を処理装置5に送信する。データ送受信部45は、LAN等の通信インタフェースで構成される。   The data transmission / reception unit 45 transmits the image data and related information stored in the storage unit 47 to the processing device 5 when connected to the processing device 5 in a communicable state. The data transmitter / receiver 45 is configured by a communication interface such as a LAN.

出力部46は、画像の表示や、音又は光の出力、振動の発生を行う。出力部46は、干渉レベルに応じた通知画像を表示したり、音、光、振動を発したりする。出力部46は、液晶ディスプレイ、有機ELディスプレイ等のディスプレイと、スピーカーと、光源と、振動モータなどの振動発生器とのうちの少なくとも一つによって構成される。   The output unit 46 performs image display, sound or light output, and vibration generation. The output unit 46 displays a notification image corresponding to the interference level, and emits sound, light, and vibration. The output unit 46 includes at least one of a display such as a liquid crystal display and an organic EL display, a speaker, a light source, and a vibration generator such as a vibration motor.

記憶部47は、受信装置4を動作させて種々の機能を実行させるためのプログラムや、カプセル型内視鏡2によって取得された画像データ、判定処理用の閾値等を記憶する。記憶部47は、RAM、ROM等によって構成される。   The storage unit 47 stores a program for operating the receiving device 4 to execute various functions, image data acquired by the capsule endoscope 2, a threshold value for determination processing, and the like. The storage unit 47 includes a RAM, a ROM, and the like.

制御部48は、受信装置4の各構成部を制御する。制御部48は、CPU等の汎用プロセッサやASIC等の特定の機能を実行する各種演算回路等の専用プロセッサを用いて構成される。制御部48は、エラー判定部43によって、受信した無線信号にエラーが生じていると判定された場合、カプセル型内視鏡2にエラー通知する。このエラー通知には、エラーと判定された画像データの識別情報(例えば撮像画像番号)が含まれる。   The control unit 48 controls each component of the receiving device 4. The control unit 48 is configured using a general-purpose processor such as a CPU or a dedicated processor such as various arithmetic circuits that execute specific functions such as an ASIC. When the error determination unit 43 determines that an error has occurred in the received wireless signal, the control unit 48 notifies the capsule endoscope 2 of the error. This error notification includes identification information (for example, a captured image number) of image data determined to be an error.

電源部49は、受信装置4の各部に電力を供給する。電源部49は、電池等からなるバッテリを用いて構成される。   The power supply unit 49 supplies power to each unit of the receiving device 4. The power supply unit 49 is configured using a battery made of a battery or the like.

このような受信装置4は、カプセル型内視鏡2によって撮像が行われている間、例えば、カプセル型内視鏡2が被検体Hに嚥下された後、消化管内を通過して排出されるまでの間、被検体Hに装着されて携帯される。受信装置4は、この間、受信アンテナユニット3を経由して受信した画像データを記憶部47に記憶させる。   Such a receiving apparatus 4 is discharged while passing through the digestive tract after the capsule endoscope 2 is swallowed by the subject H, for example, while the capsule endoscope 2 is imaging. Until then, it is carried on the subject H. During this time, the receiving device 4 stores the image data received via the receiving antenna unit 3 in the storage unit 47.

カプセル型内視鏡2による撮像の終了後、受信装置4は被検体Hから取り外され、処理装置5と接続されたクレードル5a(図1参照)にセットされる。これによって、受信装置4は、処理装置5と通信可能な状態で接続され、記憶部47に記憶された画像データ及び関連情報を処理装置5に転送(ダウンロード)する。   After the imaging by the capsule endoscope 2 is completed, the receiving device 4 is removed from the subject H and set in a cradle 5a (see FIG. 1) connected to the processing device 5. As a result, the receiving device 4 is connected to the processing device 5 in a communicable state, and transfers (downloads) the image data and related information stored in the storage unit 47 to the processing device 5.

処理装置5は、例えば、液晶ディスプレイ等の表示装置6を備えたワークステーションを用いて構成される。処理装置5は、データ送受信部51、画像処理部52、制御部53、表示制御部54、入力部55、及び記憶部56を備える。   The processing device 5 is configured using, for example, a workstation including a display device 6 such as a liquid crystal display. The processing device 5 includes a data transmission / reception unit 51, an image processing unit 52, a control unit 53, a display control unit 54, an input unit 55, and a storage unit 56.

データ送受信部51は、クレードル5aを経由して受信装置4と接続され、受信装置4との間でデータの送受信を行う。データ送受信部51は、USBやLAN等の通信インタフェースで構成される。   The data transmitting / receiving unit 51 is connected to the receiving device 4 via the cradle 5 a and transmits / receives data to / from the receiving device 4. The data transmission / reception unit 51 includes a communication interface such as a USB or a LAN.

画像処理部52は、後述の記憶部58に記憶された所定のプログラムを読み込むことによって、データ送受信部51から入力された画像データや記憶部58に記憶された画像データに対応する画像を作成するための所定の画像処理を施す。画像処理部52は、CPU等の汎用プロセッサやASIC等の特定の機能を実行する各種演算回路等の専用プロセッサによって実現される。   The image processing unit 52 reads a predetermined program stored in the storage unit 58 described later, thereby creating an image corresponding to the image data input from the data transmission / reception unit 51 and the image data stored in the storage unit 58. Predetermined image processing is performed. The image processing unit 52 is realized by a general-purpose processor such as a CPU or a dedicated processor such as various arithmetic circuits that execute specific functions such as an ASIC.

制御部53は、記憶部56に記憶された各種プログラムを読み込むことによって、入力部57から入力された信号や、データ送受信部51から入力された画像データに基づいて、処理装置5を構成する各部への指示やデータの転送等を行い、処理装置5全体の動作を統括的に制御する。制御部53は、CPU等の汎用プロセッサやASIC等の特定の機能を実行する各種演算回路等の専用プロセッサによって実現される。   The control unit 53 reads various programs stored in the storage unit 56, so that each unit configuring the processing device 5 is based on the signal input from the input unit 57 and the image data input from the data transmission / reception unit 51. The operation of the entire processing device 5 is comprehensively controlled. The control unit 53 is realized by a dedicated processor such as a general-purpose processor such as a CPU or various arithmetic circuits that execute specific functions such as an ASIC.

表示制御部54は、画像処理部52において生成された画像を、表示装置6における画像の表示レンジに応じたデータの間引きや、階調処理などの所定の処理を施した後、得られた画像を、最終スコア等の表示対象の情報とともに、表示装置6に表示出力させる。表示制御部54は、例えば、CPU等の汎用プロセッサやASIC等の特定の機能を実行する各種演算回路等の専用プロセッサによって実現される。   The display control unit 54 subjects the image generated by the image processing unit 52 to predetermined processing such as data thinning or gradation processing according to the display range of the image on the display device 6, and then the obtained image Are displayed on the display device 6 together with information to be displayed such as the final score. The display control unit 54 is realized by, for example, a general-purpose processor such as a CPU or a dedicated processor such as various arithmetic circuits that execute specific functions such as an ASIC.

入力部55は、ユーザの操作に応じた情報や命令の入力を受け付ける。入力部55は、例えばキーボードやマウス、タッチパネル、各種スイッチ等の入力デバイスによって実現される。   The input unit 55 receives input of information and commands according to user operations. The input unit 55 is realized by an input device such as a keyboard, a mouse, a touch panel, and various switches.

記憶部56は、処理装置5を動作させて種々の機能を実行させるためのプログラム、該プログラムの実行中に使用される各種情報、並びに、受信装置4から取得した画像データ及び関連情報、画像処理部52によって作成された内視鏡画像等を記憶する。記憶部56は、フラッシュメモリ、RAM、ROM等の半導体メモリや、HDD、MO、CD−R、DVD−R等の記録媒体及び該記録媒体を駆動する駆動装置等によって実現される。   The storage unit 56 operates the processing device 5 to execute various functions, various information used during the execution of the program, image data and related information acquired from the receiving device 4, image processing The endoscope image created by the unit 52 is stored. The storage unit 56 is realized by a semiconductor memory such as a flash memory, a RAM, and a ROM, a recording medium such as an HDD, an MO, a CD-R, and a DVD-R, and a drive device that drives the recording medium.

続いて、カプセル型内視鏡システム1が行う画像データの送受信処理について説明する。図3は、本発明の実施の形態1に係るカプセル型内視鏡システムが行う送受信処理を示すフローチャートである。図4は、本発明の実施の形態1に係るカプセル型内視鏡システムが行う送受信処理を説明する図である。カプセル型内視鏡2では、以下で説明する処理が、繰り返し実行される。図4では、図の左側から順に処理されることを示す。カプセル型内視鏡2では、複数の画像データを生成し、メモリ27に記憶されている画像データを受信装置4に送信する処理が、順次実行される。なお、図4中に示す「B」は、送受信におけるブランキング期間を示している。   Next, image data transmission / reception processing performed by the capsule endoscope system 1 will be described. FIG. 3 is a flowchart showing a transmission / reception process performed by the capsule endoscope system according to the first embodiment of the present invention. FIG. 4 is a diagram illustrating a transmission / reception process performed by the capsule endoscope system according to the first embodiment of the present invention. In the capsule endoscope 2, the process described below is repeatedly executed. FIG. 4 shows that processing is performed sequentially from the left side of the figure. In the capsule endoscope 2, a process of generating a plurality of image data and transmitting the image data stored in the memory 27 to the receiving device 4 is sequentially executed. Note that “B” shown in FIG. 4 indicates a blanking period in transmission and reception.

まず、ステップS101において、カプセル型内視鏡2が撮像処理を行う。撮像部21は、画像データを生成する(撮像ステップ)。   First, in step S101, the capsule endoscope 2 performs an imaging process. The imaging unit 21 generates image data (imaging step).

ステップS101に続くステップS102において、動き検出部26が、ステップS101において生成された画像データの動き検出を行う(検出ステップ)。動き検出部26は、上述した動き量を算出する。なお、画像間の差によって動き量を算出する場合、最初のフレームの画像には比較対象がないため、予め設定された動き量(本実施の形態1では1)が付与される。   In step S102 following step S101, the motion detection unit 26 performs motion detection on the image data generated in step S101 (detection step). The motion detection unit 26 calculates the amount of motion described above. Note that when the motion amount is calculated based on the difference between the images, since there is no comparison target in the image of the first frame, a preset motion amount (1 in the first embodiment) is given.

ステップS102に続くステップS103において、制御部23は、ステップS101において生成された画像データと、ステップS102において算出された動き量とを対応付けて、メモリ27の所定の位置に記憶させる(記憶ステップ)。メモリ27には、画像データを格納する各位置にメモリ番号(メモリNo.)が付されている。この際、すでに格納位置が画像データで埋まっている場合には、取得時間が最も古い画像データを、最新の画像データに置き換える。メモリ27に記憶される画像データには、撮像された順番を示す撮像画像番号(撮像画像No.)が付される(図4参照)。この撮像画像番号は、各画像データに対して1ずつ加算して付与される通し番号である。また、メモリ27における格納画像番号(格納画像No.)は、メモリ27への格納順を示し、撮像画像番号に対応している。なお、本実施の形態1では、メモリ27に格納される画像データの数が5つのため、メモリ番号はNo.1〜No.5の5つとなっている。   In step S103 following step S102, the control unit 23 associates the image data generated in step S101 with the amount of motion calculated in step S102, and stores it in a predetermined position in the memory 27 (storage step). . In the memory 27, a memory number (memory No.) is assigned to each position where image data is stored. At this time, if the storage position is already filled with image data, the image data with the oldest acquisition time is replaced with the latest image data. The image data stored in the memory 27 is assigned a captured image number (captured image No.) indicating the order of image capture (see FIG. 4). This picked-up image number is a serial number given by adding 1 to each image data. The stored image number (stored image No.) in the memory 27 indicates the storage order in the memory 27 and corresponds to the captured image number. In the first embodiment, since the number of image data stored in the memory 27 is five, the memory number is “No. 1-No. Five of five.

また、ステップS101〜S103と並行して、無線通信部24は、画像データを無線信号に重畳して電波に介在させて受信装置4に送信する(ステップS104:送信ステップ)。無線通信部24は、メモリ27に記憶されている最大5フレームの画像データのうち、最新の方から3番目の画像データと、その画像データを識別するための識別情報(ここでは撮像画像番号)とを送信する。このため、無線通信部24から画像データが送信されるのは、カプセル型内視鏡2が撮像処理を開始してから、4フレーム目の画像データを撮像、記憶する際に、1フレーム目の画像データが送信される。   In parallel with Steps S101 to S103, the wireless communication unit 24 superimposes the image data on the wireless signal and transmits the image data to the reception device 4 via the radio wave (Step S104: transmission step). The wireless communication unit 24 is the third most recent image data among the image data of up to 5 frames stored in the memory 27, and identification information for identifying the image data (here, the captured image number). And send. For this reason, the image data is transmitted from the wireless communication unit 24 when the capsule endoscope 2 starts imaging processing and captures and stores the fourth frame of image data. Image data is transmitted.

受信装置4は、受信部41が無線信号を受信すると(ステップS105)、エラー判定部43が、受信した無線信号(画像データ)の同期信号を計数し、閾値と比較する(ステップS106)。なお、図4において、受信装置4が受信した画像データ(受信画像)の番号は、上述した撮像画像番号に対応付いている。   In the reception device 4, when the reception unit 41 receives a wireless signal (step S105), the error determination unit 43 counts the synchronization signal of the received wireless signal (image data) and compares it with a threshold value (step S106). In FIG. 4, the number of image data (received image) received by the receiving device 4 corresponds to the above-described captured image number.

エラー判定部43は、計数した同期信号の数が閾値より大きい場合、今回受信した無線信号にエラーは生じていないと判断する。この場合(ステップS106:No)、エラー判定部43は、判定対象の画像データにはエラーが生じていない旨の判定結果を制御部48に出力する。制御部48は、判定対象の画像データにはエラーが生じていない旨の判定結果を受信すると、ステップS105に戻る。   The error determination unit 43 determines that no error has occurred in the wireless signal received this time when the counted number of synchronization signals is larger than the threshold value. In this case (step S106: No), the error determination unit 43 outputs a determination result indicating that no error has occurred in the determination target image data to the control unit 48. When the control unit 48 receives a determination result indicating that no error has occurred in the image data to be determined, the control unit 48 returns to step S105.

これに対し、エラー判定部43は、計数し同期信号の数が閾値以下の場合、今回受信した無線信号にエラーが生じていると判断する。この場合(ステップS106:Yes)、エラー判定部43は、判定対象の画像データにエラーが生じている旨の判定結果を制御部48に出力する。制御部48は、判定対象の画像データにエラーが生じている旨の判定結果を受信すると、ステップS107に移行する。   On the other hand, when the error determination unit 43 counts and the number of synchronization signals is equal to or less than the threshold, the error determination unit 43 determines that an error has occurred in the currently received radio signal. In this case (step S106: Yes), the error determination unit 43 outputs a determination result indicating that an error has occurred in the determination target image data to the control unit 48. When the control unit 48 receives a determination result indicating that an error has occurred in the image data to be determined, the control unit 48 proceeds to step S107.

ステップS107において、制御部48は、カプセル型内視鏡2に対し、エラー通知を行う。制御部48は、エラーと判定された画像データの撮像画像番号(受信画像の番号)を含むエラー情報を、送信アンテナ42aによってカプセル型内視鏡2に送信する。   In step S107, the control unit 48 issues an error notification to the capsule endoscope 2. The control unit 48 transmits error information including the captured image number (received image number) of the image data determined to be an error to the capsule endoscope 2 via the transmission antenna 42a.

カプセル型内視鏡2の制御部23は、ステップS104の画像データ送信後、受信装置4からエラー通知を受信したか否かを判断する(ステップS108)。制御部23は、画像データを送信後、予め設定された期間内にエラー通知を受信しなければ、エラー通知を受信していない(ステップS108:No)と判断し、当該フレームに係る処理を終了する。これに対し、制御部23は、画像データを送信後、予め設定された期間内にエラー通知を受信すると(ステップS108:Yes)、ステップS109に移行する(受信ステップ)。   The control unit 23 of the capsule endoscope 2 determines whether or not an error notification has been received from the receiving device 4 after transmitting the image data in step S104 (step S108). If the error notification is not received within a preset period after transmitting the image data, the control unit 23 determines that no error notification has been received (step S108: No), and ends the processing related to the frame. To do. On the other hand, when the control unit 23 receives an error notification within a preset period after transmitting the image data (step S108: Yes), the control unit 23 proceeds to step S109 (reception step).

ステップS109において、画像選択部23aは、エラー対象の画像データの動き量と、メモリ27に記憶されているエラー判定された画像データ以外の画像データ(以下、格納画像データともいう)の動き量とを比較する(選択ステップ)。画像選択部23aは、エラー判定された画像データの動き量が、格納画像データよりも小さければ(ステップS109:No)、送信対象の画像データの変更は行わずに、当該フレームに係る処理を終了する。これに対し、画像選択部23aは、エラー判定された画像データの動き量が、格納画像データ以上であれば(ステップS109:Yes)、ステップS110に移行する。   In step S <b> 109, the image selection unit 23 a determines the amount of motion of the error target image data and the amount of motion of image data (hereinafter also referred to as stored image data) other than the image data that is determined to be error stored in the memory 27. Are compared (selection step). If the amount of motion of the image data determined to be error is smaller than the stored image data (step S109: No), the image selection unit 23a ends the process related to the frame without changing the image data to be transmitted. To do. On the other hand, if the amount of motion of the image data determined as an error is greater than or equal to the stored image data (step S109: Yes), the image selection unit 23a proceeds to step S110.

ステップS110において、画像選択部23aは、最も動き量の小さい画像データを送信対象の画像データから除外して、エラー判定された画像データを送信対象の画像データに置き換える。   In step S110, the image selection unit 23a excludes the image data with the smallest amount of motion from the image data to be transmitted, and replaces the image data determined to be error with the image data to be transmitted.

例えば、図4に示すように、撮像画像No.7の画像データの受信にエラーが生じた場合、エラー通知を受信した時点でメモリ27に記憶されている撮像画像No.7(エラー画像データ)の動き量と、未送信の撮像画像No.8〜No.10の動き量とを比較する。なお、この時点で撮像画像No.11が記憶されていれば、格納画像データに含めてもよい。これらの画像データにおいて、撮像画像No.7の動き量が3であり、撮像画像No.10の動き量が1であるため、本来送信対象の画像データであった撮像画像No.10の画像データが、撮像画像No.7(エラー画像データ)に置き換えられる。これによって、本来、撮像画像No.10の画像データが送信されるタイミングで、撮像画像No.10の画像データが送信対象から除外され、撮像画像No.7の画像データが受信装置4に送信される。   For example, as shown in FIG. 7 is received, the captured image No. stored in the memory 27 when the error notification is received is received. 7 (error image data) and the untransmitted captured image No. 8-No. 10 movement amounts are compared. At this time, the captured image No. If 11 is stored, it may be included in the stored image data. In these image data, the captured image No. 7 is 3, and the captured image No. Since the amount of motion of 10 is 1, the captured image No. 10 image data, the captured image No. 7 (error image data). As a result, the captured image No. No. 10 image data is transmitted at the timing when the captured image No. 10 image data is excluded from the transmission target, and the captured image No. 7 is transmitted to the receiving device 4.

一方、図4に示すように、撮像画像No.13の画像データの受信にエラーが生じた場合、エラー通知を受信した時点でメモリ27に記憶されている撮像画像No.13(エラー画像データ)の動き量と、未送信の撮像画像No.14〜No.16の動き量とを比較する。なお、この時点で撮像画像No.17が記憶されていれば、格納画像データに含めてもよい。この際、撮像画像No.13の動き量が1であり、撮像画像No.14〜No.16の動き量が2であるため、撮像画像No.14〜No.16の画像データは、撮像画像No.13(エラー画像データ)に置き換えられることなく、受信装置4に送信される。   On the other hand, as shown in FIG. When an error occurs in the reception of the image data No. 13, the captured image No. stored in the memory 27 when the error notification is received is stored. 13 (error image data) and the untransmitted captured image No. 14-No. 16 motion amounts are compared. At this time, the captured image No. If 17 is stored, it may be included in the stored image data. At this time, the captured image No. 13 is 1 and the captured image No. 14-No. Since the amount of movement of 16 is 2, the captured image No. 14-No. The image data of 16 is the captured image No. It is transmitted to the receiving device 4 without being replaced with 13 (error image data).

上述した実施の形態1では、受信装置4において、画像データの受信にエラーが生じた場合、画像データの動き量に応じて画像データを置き換えてエラー画像データを再送信するようにした。本実施の形態1では、カプセル型内視鏡2が撮像する総フレーム数を超えることなく、受信装置4に画像データを送信しつつ、エラーが生じた場合に、動き量の大きな画像データが優先的に受信装置4に送信される。本実施の形態1によれば、メモリおよび消費電力の増大を抑制しつつ、画像データを効率的に送信することができる。   In the first embodiment described above, when an error occurs in the reception of image data in the receiving device 4, the image data is replaced according to the amount of motion of the image data, and the error image data is retransmitted. In the first embodiment, when an error occurs while transmitting image data to the receiving device 4 without exceeding the total number of frames captured by the capsule endoscope 2, image data with a large amount of motion is given priority. Is transmitted to the receiving device 4. According to the first embodiment, it is possible to efficiently transmit image data while suppressing increases in memory and power consumption.

(実施の形態1の変形例1)
続いて、本発明の実施の形態1の変形例1について説明する。図5は、本発明の実施の形態1の変形例1に係るカプセル型内視鏡システムが行う送受信処理を示すフローチャートである。実施の形態1では、受信装置4が、受信した無線信号(画像データ)についてエラー判定を行うものとして説明したが、変形例1では、さらに、受信すべき画像データが受信されなかった場合にもエラー通知を行う。本変形例1に係るカプセル型内視鏡システムの構成は、実施の形態1と同様である。以下、実施の形態1とは異なる処理について、図5を参照して説明する。
(Modification 1 of Embodiment 1)
Then, the modification 1 of Embodiment 1 of this invention is demonstrated. FIG. 5 is a flowchart showing a transmission / reception process performed by the capsule endoscope system according to the first modification of the first embodiment of the present invention. In the first embodiment, it has been described that the reception device 4 performs error determination on the received radio signal (image data). However, in the first modification, even when image data to be received is not received, Perform error notification. The configuration of the capsule endoscope system according to the first modification is the same as that of the first embodiment. Hereinafter, processing different from that of the first embodiment will be described with reference to FIG.

まず、上述した実施の形態1(図3のステップS101〜S104)と同様にして、カプセル型内視鏡2が撮像処理、画像データの動き検出処理、メモリ格納処理を行うとともに、送信対象の画像データを受信装置4に送信する(ステップS201〜S204)。   First, in the same manner as in the first embodiment (steps S101 to S104 in FIG. 3), the capsule endoscope 2 performs an imaging process, a motion detection process for image data, a memory storage process, and an image to be transmitted. Data is transmitted to the receiving device 4 (steps S201 to S204).

受信装置4では、制御部48が、無線信号(画像データ)を受信したか否かを確認する(ステップS205)。制御部48は、受信部41が画像データを受信していないと判断した場合(ステップS205:No)、ステップS206に移行する。また、制御部48は、受信部41が画像データを受信したと判断した場合(ステップS205:Yes)、ステップS207に移行する。   In the receiving device 4, the control unit 48 checks whether or not a wireless signal (image data) has been received (step S205). When the control unit 48 determines that the receiving unit 41 has not received image data (step S205: No), the control unit 48 proceeds to step S206. If the control unit 48 determines that the reception unit 41 has received the image data (step S205: Yes), the control unit 48 proceeds to step S207.

ステップS206において、制御部48は、受信すべき画像データの受信期間内であるか否かを判断する。カプセル型内視鏡2から定期的に画像データが送信される場合、受信装置4も定期的に画像データを受信する。この際、受信装置4では、前回画像データを受信してから、所定の期間の間に次の画像データを受信する。本ステップS206における受信期間は、この所定の期間に相当する。受信期間は、例えば、前回画像データを受信した後から始まる期間であって、カプセル型内視鏡2の処理の誤差や、伝送経路を加味して設定される期間である。制御部48は、受信期間内であれば(ステップS206:Yes)、ステップS205に戻る。これに対し、制御部48は、受信期間が経過したと判断した場合(ステップS206:No)、ステップS208に移行する。   In step S206, the control unit 48 determines whether it is within the reception period of the image data to be received. When image data is periodically transmitted from the capsule endoscope 2, the receiving device 4 also periodically receives the image data. At this time, the receiving device 4 receives the next image data during a predetermined period after receiving the previous image data. The reception period in step S206 corresponds to this predetermined period. The reception period is, for example, a period that starts after the previous image data is received, and is a period that is set in consideration of processing errors of the capsule endoscope 2 and the transmission path. If it is within the reception period (step S206: Yes), the controller 48 returns to step S205. In contrast, when the control unit 48 determines that the reception period has elapsed (step S206: No), the control unit 48 proceeds to step S208.

ステップS207において、エラー判定部43は、受信した無線信号(画像データ)の同期信号を計数し、閾値と比較する。エラー判定部43は、計数し同期信号の数が閾値より大きい場合、今回受信した無線信号にエラーは生じていないと判断する。この場合(ステップS207:No)、エラー判定部43は、判定対象の画像データにはエラーが生じていない旨の判定結果を制御部48に出力する。制御部48は、判定対象の画像データにはエラーが生じていない旨の判定結果を受信すると、ステップS205に戻る。   In step S207, the error determination unit 43 counts the synchronization signal of the received wireless signal (image data) and compares it with a threshold value. The error determination unit 43 counts and determines that no error has occurred in the radio signal received this time when the number of synchronization signals is larger than the threshold. In this case (step S207: No), the error determination unit 43 outputs a determination result indicating that no error has occurred in the determination target image data to the control unit 48. When the control unit 48 receives a determination result indicating that no error has occurred in the determination target image data, the control unit 48 returns to step S205.

これに対し、エラー判定部43は、計数した同期信号の数が閾値以下の場合、今回受信した無線信号にエラーが生じていると判断する。この場合(ステップS207:Yes)、エラー判定部43は、判定対象の画像データにエラーが生じている旨の判定結果を制御部48に出力する。制御部48は、判定対象の画像データにエラーが生じている旨の判定結果を受信すると、ステップS208に移行する。   On the other hand, when the number of counted synchronization signals is equal to or less than the threshold, the error determination unit 43 determines that an error has occurred in the radio signal received this time. In this case (step S207: Yes), the error determination unit 43 outputs a determination result indicating that an error has occurred in the determination target image data to the control unit 48. When the control unit 48 receives a determination result indicating that an error has occurred in the image data to be determined, the control unit 48 proceeds to step S208.

ステップS208において、制御部48は、カプセル型内視鏡2に対し、エラー通知を行う。制御部48は、エラーと判定された画像データの撮像画像番号(受信画像の番号)を含むエラー情報をカプセル型内視鏡2に送信する。このエラー情報は、ステップS206において判定され、受信期間内に画像データを受信しなったことに起因するエラーと、ステップS207において判定された、同期信号の数に起因するエラーと、のいずれかを含む。   In step S208, the control unit 48 issues an error notification to the capsule endoscope 2. The control unit 48 transmits error information including the captured image number (received image number) of the image data determined as an error to the capsule endoscope 2. This error information is determined in step S206, and is either an error caused by not receiving image data within the reception period or an error caused by the number of synchronization signals determined in step S207. Including.

カプセル型内視鏡2の制御部23は、ステップS204の画像データ送信後、受信装置4からエラー通知を受信したか否かを判断する(ステップS209)。制御部23は、画像データを送信後、予め設定された期間内にエラー通知を受信しなければ、エラー通知を受信していない(ステップS209:No)と判断し、当該フレームに係る処理を終了する。これに対し、制御部23は、画像データを送信後、予め設定された期間内にエラー通知を受信すると(ステップS209:Yes)、ステップS210に移行する。   The control unit 23 of the capsule endoscope 2 determines whether or not an error notification has been received from the receiving device 4 after the image data transmission in step S204 (step S209). If the error notification is not received within a preset period after transmitting the image data, the control unit 23 determines that the error notification has not been received (step S209: No), and ends the processing related to the frame. To do. In contrast, when the control unit 23 receives an error notification within a preset period after transmitting the image data (step S209: Yes), the control unit 23 proceeds to step S210.

ステップS210において、画像選択部23aは、エラー対象の画像データの動き量と、メモリ27に記憶されている格納画像データの動き量とを比較する。画像選択部23aは、エラー判定された画像データの動き量が、格納画像データよりも小さければ(ステップS210:No)、送信対象の画像データの変更は行わずに、当該フレームに係る処理を終了する。これに対し、画像選択部23aは、エラー判定された画像データの動き量が、格納画像データ以上であれば(ステップS210:Yes)、ステップS211に移行する。   In step S <b> 210, the image selection unit 23 a compares the amount of motion of the error target image data with the amount of motion of the stored image data stored in the memory 27. If the amount of motion of the image data determined as an error is smaller than the stored image data (step S210: No), the image selection unit 23a ends the process related to the frame without changing the image data to be transmitted. To do. On the other hand, if the amount of motion of the image data determined to be error is greater than or equal to the stored image data (step S210: Yes), the image selection unit 23a proceeds to step S211.

ステップS211において、画像選択部23aは、最も動き量の小さい画像データを送信対象の画像データから除外して、エラー判定された画像データを送信対象の画像データに置き換える。   In step S211, the image selection unit 23a excludes the image data with the smallest amount of motion from the image data to be transmitted, and replaces the image data determined to be error with the image data to be transmitted.

上述した変形例1では、受信装置4において、画像データの未受信を含む受信エラーが生じた場合、画像データの動き量に応じて画像データを置き換えてエラー画像データを再送信する構成とした。本変形例1においても、実施の形態1と同様に、メモリおよび消費電力の増大を抑制しつつ、画像データを効率的に送信することができる。   In the first modification described above, when a reception error including non-reception of image data occurs in the receiving device 4, the error image data is retransmitted by replacing the image data according to the amount of movement of the image data. Also in the first modification, as in the first embodiment, it is possible to efficiently transmit image data while suppressing an increase in memory and power consumption.

(実施の形態1の変形例2)
続いて、本発明の実施の形態1の変形例2について説明する。変形例2では、エラー通知を行う際に、送信対象から外れた画像データの撮像番号を、別の画像データの送信時に付加情報をとして送信する。本変形例2に係るカプセル型内視鏡システムの構成は、実施の形態1と同様である。以下、実施の形態1とは異なる処理について説明する。
(Modification 2 of Embodiment 1)
Then, the modification 2 of Embodiment 1 of this invention is demonstrated. In the second modification, when performing error notification, the imaging number of the image data that is excluded from the transmission target is transmitted as additional information when another image data is transmitted. The configuration of the capsule endoscope system according to the second modification is the same as that of the first embodiment. Hereinafter, processing different from that of the first embodiment will be described.

変形例2では、上述した図3に示す流れに沿って送受信処理が実行される。制御部23は、ステップS104において、エラー通知を受けた後に画像データを送信する際、送信対象から外れた画像データについて、送信しない旨の付加情報をエラー情報に付与する。付加情報は、撮像画像番号とともに、当該撮像画像番号の画像データを送信しない旨の情報を含んでいる。この際、送信しない旨が決定された画像データは、エラー判定された画像データか、エラー判定された画像データに置き換えられた格納画像データのいずれかである。例えば、図4に示す送受信を行った場合には、撮像画像No.7を再送信する際に、撮像画像No.10を送信しない旨の付加情報を付与し、撮像画像No.14〜No.16を送信する際に、撮像画像No.13を送信しない旨の付加情報を付与する。   In the second modification, transmission / reception processing is executed along the flow shown in FIG. 3 described above. In step S104, when the image data is transmitted after receiving the error notification, the control unit 23 adds, to the error information, additional information indicating that the image data that has not been transmitted is transmitted. The additional information includes information indicating that the image data of the captured image number is not transmitted together with the captured image number. At this time, the image data determined not to be transmitted is either the image data determined to be error or the stored image data replaced with the image data determined to be error. For example, when the transmission / reception shown in FIG. When retransmitting 7, the captured image No. 10 is added, and the captured image No. 10 is added. 14-No. 16 is transmitted, the captured image No. Additional information indicating that 13 is not transmitted is added.

本変形例2によれば、上述した実施の形態1の効果を得るとともに、受信装置4側に送信しなかった画像データを通知することによって、受信装置4側でも画像データの受信管理を行うことができる。   According to the second modification, the effect of the first embodiment described above is obtained, and the reception management of the image data is also performed on the receiving device 4 side by notifying the image data that has not been transmitted to the receiving device 4 side. Can do.

(実施の形態2)
続いて、本発明の実施の形態2について説明する。図6は、本発明の実施の形態2に係るカプセル型内視鏡システムの概略構成を示すブロック図である。
(Embodiment 2)
Next, a second embodiment of the present invention will be described. FIG. 6 is a block diagram showing a schematic configuration of the capsule endoscope system according to the second embodiment of the present invention.

本実施の形態2に係るカプセル内視鏡システム1Aは、被検体H内に導入されて該被検体H内を撮像することによって画像データを生成し、無線信号に重畳して電波に乗せて送信するカプセル型内視鏡2Aと、カプセル型内視鏡2Aから送信された無線信号を、被検体Hに装着された複数の受信アンテナ3a〜3hを備えた受信アンテナユニット3を経由して受信する受信装置4と、カプセル型内視鏡2が撮像した画像信号を、クレードル5aを経由して、受信装置4から取り込み、該画像信号を処理して、被検体H内の画像を生成する処理装置5と、を備える。本実施の形態2に係るカプセル型内視鏡1Aは、上述したカプセル型内視鏡システム1のカプセル型内視鏡2をカプセル型内視鏡2Aに変えた以外は、同じ構成である。以下、実施の形態1とは構成が異なるカプセル型内視鏡2Aについて説明する。   The capsule endoscope system 1A according to the second embodiment generates image data by being introduced into the subject H and imaging the subject H, and transmits the image data superimposed on a radio signal on radio waves. The capsule endoscope 2A and the radio signal transmitted from the capsule endoscope 2A are received via the reception antenna unit 3 including a plurality of reception antennas 3a to 3h attached to the subject H. A processing device that captures an image signal captured by the receiving device 4 and the capsule endoscope 2 from the receiving device 4 via the cradle 5a and processes the image signal to generate an image in the subject H. 5 is provided. The capsule endoscope 1A according to the second embodiment has the same configuration except that the capsule endoscope 2 of the capsule endoscope system 1 described above is changed to the capsule endoscope 2A. Hereinafter, a capsule endoscope 2A having a configuration different from that of the first embodiment will be described.

カプセル型内視鏡2Aは、上述した撮像部21、照明部22、制御部23、無線通信部24、アンテナ25、動き検出部26、メモリ27及び電源部28と、エラーカウント部29とを備える。カプセル型内視鏡2Aは、被検体Hが嚥下可能な大きさのカプセル形状の筐体に上述した各構成部品を内蔵した装置である。   The capsule endoscope 2A includes the above-described imaging unit 21, illumination unit 22, control unit 23, wireless communication unit 24, antenna 25, motion detection unit 26, memory 27, power supply unit 28, and error count unit 29. . The capsule endoscope 2A is a device in which each of the above-described components is built in a capsule-shaped housing that is sized to allow the subject H to swallow.

エラーカウント部29は、各撮像画像番号の画像データについて、エラー通知を受けた際に、当該撮像画像番号の画像データのエラー通知回数をカウントする。エラーカウント部29は、カウントした結果を制御部23に出力する。   When receiving an error notification for the image data of each captured image number, the error count unit 29 counts the number of error notifications of the image data of the captured image number. The error count unit 29 outputs the counted result to the control unit 23.

制御部23は、エラーカウント部29からカウント結果を受け取ると、予め設定されている閾値(本実施の形態2では3とする)と比較する。カウント数が3より大きい場合、動き量によらず、当該撮像画像番号の画像データを送信対象から外す。カプセル型内視鏡2から送信される画像データは、同じ画像データを繰り返し送信してもエラーとなってしまう場合が生じ得る。この際、特に、動き量の大きな画像データは、受信装置4側で受信エラーと判定されても、その動き量の大きさによって再び送信対象の画像データに選定される。この処理を繰り返していくと、同じ画像データについて送信処理が繰り返され、かつ受信装置4側では受信できないために、受信装置4が受信する画像データの総数が減少する場合もあり、画像データの送受信の効率としては非効率となる。本実施の形態2では、このような非効率な状態が続くことを抑制するため、同一画像データのエラー通知回数をカウントして、閾値を超えた画像データを送信対象から外す。   When receiving the count result from the error count unit 29, the control unit 23 compares it with a preset threshold value (3 in the second embodiment). When the count number is greater than 3, the image data of the captured image number is excluded from the transmission target regardless of the amount of movement. The image data transmitted from the capsule endoscope 2 may cause an error even if the same image data is repeatedly transmitted. At this time, particularly, image data having a large amount of motion is selected again as image data to be transmitted depending on the magnitude of the amount of motion even if the reception device 4 determines that the reception error has occurred. If this processing is repeated, the transmission processing is repeated for the same image data, and the reception device 4 cannot receive the image. Therefore, the total number of image data received by the reception device 4 may be reduced. The efficiency is inefficient. In the second embodiment, in order to prevent such an inefficient state from continuing, the number of error notifications of the same image data is counted, and image data exceeding the threshold is excluded from transmission targets.

図7は、本発明の実施の形態2に係るカプセル型内視鏡システムが行う送受信処理を示すフローチャートである。まず、上述した実施の形態1(図3のステップS101〜S104)と同様にして、カプセル型内視鏡2Aが撮像処理、画像データの動き検出処理、メモリ格納処理を行うとともに、送信対象の画像データを受信装置4に送信する(ステップS301〜S304)。   FIG. 7 is a flowchart showing a transmission / reception process performed by the capsule endoscope system according to the second embodiment of the present invention. First, in the same manner as in the first embodiment (steps S101 to S104 in FIG. 3), the capsule endoscope 2A performs an imaging process, a motion detection process for image data, a memory storage process, and an image to be transmitted. Data is transmitted to the receiving device 4 (steps S301 to S304).

受信装置4は、受信部41が無線信号を受信すると(ステップS305)、エラー判定部43が、受信した無線信号(画像データ)の同期信号を計数し、閾値と比較する(ステップS306)。なお、図4において、受信装置4が受信した画像データ(受信画像)の番号は、上述した撮像画像番号に対応付いている。   In the reception device 4, when the reception unit 41 receives a wireless signal (step S305), the error determination unit 43 counts the synchronization signal of the received wireless signal (image data) and compares it with a threshold value (step S306). In FIG. 4, the number of image data (received image) received by the receiving device 4 corresponds to the above-described captured image number.

エラー判定部43は、計数した同期信号の数が閾値より大きい場合、今回受信した無線信号にエラーは生じていないと判断する。この場合(ステップS306:No)、エラー判定部43は、判定対象の画像データにはエラーが生じていない旨の判定結果を制御部48に出力する。制御部48は、判定対象の画像データにはエラーが生じていない旨の判定結果を受信すると、ステップS305に戻る。   The error determination unit 43 determines that no error has occurred in the wireless signal received this time when the counted number of synchronization signals is larger than the threshold value. In this case (step S306: No), the error determination unit 43 outputs a determination result indicating that no error has occurred in the determination target image data to the control unit 48. When the control unit 48 receives a determination result indicating that no error has occurred in the determination target image data, the control unit 48 returns to step S305.

これに対し、エラー判定部43は、計数し同期信号の数が閾値以下の場合、今回受信した無線信号にエラーが生じていると判断する。この場合(ステップS306:Yes)、エラー判定部43は、判定対象の画像データにエラーが生じている旨の判定結果を制御部48に出力する。制御部48は、判定対象の画像データにエラーが生じている旨の判定結果を受信すると、ステップS307に移行する。   On the other hand, when the error determination unit 43 counts and the number of synchronization signals is equal to or less than the threshold, the error determination unit 43 determines that an error has occurred in the currently received radio signal. In this case (step S306: Yes), the error determination unit 43 outputs a determination result indicating that an error has occurred in the determination target image data to the control unit 48. When the control unit 48 receives a determination result indicating that an error has occurred in the determination target image data, the control unit 48 proceeds to step S307.

ステップS307において、制御部48は、カプセル型内視鏡2に対し、エラー通知を行う。制御部48は、エラーと判定された画像データの撮像画像番号(受信画像の番号)を含むエラー情報を、送信アンテナ42aによってカプセル型内視鏡2に送信する。   In step S307, the control unit 48 sends an error notification to the capsule endoscope 2. The control unit 48 transmits error information including the captured image number (received image number) of the image data determined to be an error to the capsule endoscope 2 via the transmission antenna 42a.

カプセル型内視鏡2の制御部23は、ステップS304の画像データ送信後、受信装置4からエラー通知を受信したか否かを判断する(ステップS308)。制御部23は、画像データを送信後、予め設定された期間内にエラー通知を受信しなければ、エラー通知を受信していない(ステップS308:No)と判断し、当該フレームに係る処理を終了する。これに対し、制御部23は、画像データを送信後、予め設定された期間内にエラー通知を受信すると(ステップS308:Yes)、ステップ309に移行する。   The control unit 23 of the capsule endoscope 2 determines whether or not an error notification is received from the receiving device 4 after the image data transmission in step S304 (step S308). If the error notification is not received within a preset period after transmitting the image data, the control unit 23 determines that no error notification has been received (step S308: No), and ends the processing related to the frame. To do. In contrast, when the control unit 23 receives an error notification within a preset period after transmitting the image data (step S308: Yes), the control unit 23 proceeds to step 309.

ステップS309において、エラーカウント部29は、エラー判定された画像データのエラーカウントを一つ加算する。エラーカウント部29は、カウントした結果を制御部23に出力する。   In step S309, the error count unit 29 adds one error count of the image data determined to be in error. The error count unit 29 outputs the counted result to the control unit 23.

ステップS309に続くステップS310において、制御部23は、カウント数と閾値とを比較する。具体的に、制御部23は、カウント数が3以下であるか否かを判断する。制御部23は、カウント数が3以下であれば(ステップS310:Yes)、ステップS311に移行する。   In step S310 following step S309, the control unit 23 compares the count number with a threshold value. Specifically, the control unit 23 determines whether or not the count number is 3 or less. If the count number is 3 or less (step S310: Yes), the control unit 23 proceeds to step S311.

ステップS311において、画像選択部23aは、エラー対象の画像データの動き量と、メモリ27に記憶されている格納画像データの動き量とを比較する。画像選択部23aは、エラー判定された画像データの動き量が、格納画像データよりも小さければ(ステップS311:No)、送信対象の画像データの変更は行わずに、当該フレームに係る処理を終了する。これに対し、画像選択部23aは、エラー判定された画像データの動き量が、格納画像データの動き量以上であれば(ステップS311:Yes)、ステップS312に移行する。   In step S <b> 311, the image selection unit 23 a compares the amount of movement of the error target image data with the amount of movement of the stored image data stored in the memory 27. If the amount of motion of the image data determined as an error is smaller than the stored image data (step S311: No), the image selection unit 23a terminates the process related to the frame without changing the image data to be transmitted. To do. On the other hand, if the amount of motion of the image data determined to be error is equal to or greater than the amount of motion of the stored image data (step S311: Yes), the image selection unit 23a proceeds to step S312.

ステップS312において、画像選択部23aは、最も動き量の小さい画像データを送信対象の画像データから除外して、エラー判定された画像データを送信対象の画像データに置き換える。   In step S312, the image selection unit 23a excludes the image data having the smallest amount of motion from the image data to be transmitted, and replaces the image data determined to be error with the image data to be transmitted.

また、ステップS310において、制御部23は、エラーカウント数が3より大きければ(ステップS310:No)、ステップS213に移行する。   In step S310, if the error count is greater than 3 (step S310: No), the control unit 23 proceeds to step S213.

ステップS312において、制御部23は、エラーカウントが3を超えた画像データを、送信対象の画像データから外し、当該フレームに係る処理を終了する。   In step S312, the control unit 23 removes the image data having an error count exceeding 3 from the image data to be transmitted, and ends the process related to the frame.

上述した実施の形態2では、受信装置4において受信エラーが生じた際、当該画像データのエラー通知回数をカウントし、カウント数に応じて当該画像データを送信対象から外す構成とした。本実施の形態2によれば、実施の形態1と同様の効果を得るとともに、同じ画像データが不要に繰り返して送信されることを抑制できる。   In Embodiment 2 described above, when a reception error occurs in the receiving device 4, the number of error notifications of the image data is counted, and the image data is excluded from transmission targets according to the count number. According to the second embodiment, the same effect as in the first embodiment can be obtained, and the same image data can be prevented from being repeatedly transmitted unnecessarily.

ここまで、本発明を実施するための形態を説明してきたが、本発明は上述した実施の形態及び変形例によってのみ限定されるべきものではない。本発明は、以上説明した実施の形態及び変形例には限定されず、特許請求の範囲に記載した技術的思想を逸脱しない範囲内において、様々な実施の形態を含みうるものである。また、実施の形態及び変形例の構成を適宜組み合わせてもよい。   The embodiments for carrying out the present invention have been described so far, but the present invention should not be limited only by the above-described embodiments and modifications. The present invention is not limited to the embodiments and modifications described above, and can include various embodiments without departing from the technical idea described in the claims. Moreover, you may combine suitably the structure of embodiment and a modification.

上述した実施の形態1、2では、エラー判定部43が、同期信号を計数し、計数した数を用いてエラー判定を行うものとして説明したが、これに限らず、例えば、受信強度を用いてエラー判定を行ってもよい。また、同期信号以外に規則的に埋め込んだ固定ビットパターンの検出エラー数を用いて、エラー判定を行ってもよい。   In the first and second embodiments described above, the error determination unit 43 has been described as counting the synchronization signal and performing error determination using the counted number. However, the present invention is not limited to this, for example, using reception strength. Error determination may be performed. Further, the error determination may be performed using the number of detection errors of the fixed bit pattern regularly embedded in addition to the synchronization signal.

また、実施の形態1、2では、無線通信部24及びアンテナ25が送受信部として機能するものとして説明したが、これに限らず、例えば、送信用のアンテナと、受信用のアンテナを別途設けて、独立した送信部と受信部とを備えた構成としてもよい。   In the first and second embodiments, the wireless communication unit 24 and the antenna 25 have been described as functioning as a transmission / reception unit. However, the present invention is not limited to this. For example, a transmission antenna and a reception antenna are separately provided. The configuration may include an independent transmission unit and reception unit.

また、実施の形態1、2では、動き検出部26が画像データで動きを判定する場合、動き検出部は撮像部21に含まれていてもよい。   In the first and second embodiments, when the motion detection unit 26 determines a motion using image data, the motion detection unit may be included in the imaging unit 21.

また、本実施の形態1、2に係るカプセル型内視鏡システム1、1Aのカプセル型内視鏡2、2A、受信装置4、処理装置5の各構成部で実行される各処理に対する実行プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよく、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることによって提供するように構成してもよい。また、インターネット等のネットワーク経由で提供又は配布するように構成してもよい。   Also, an execution program for each process executed by each component of the capsule endoscope system 1, 1A of the capsule endoscope system 1, 1A, the receiving device 4, and the processing device 5 according to the first and second embodiments. May be configured to be provided by being recorded on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD in an installable or executable format file. It may be configured to be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Moreover, you may comprise so that it may provide or distribute via networks, such as the internet.

以上のように、本発明に係るカプセル型内視鏡、カプセル型内視鏡システム及びカプセル型内視鏡の送信方法は、メモリおよび消費電力の増大を抑制しつつ、被検体内の画像を効率的に送信するのに有用である。   As described above, the capsule endoscope, the capsule endoscope system, and the transmission method of the capsule endoscope according to the present invention efficiently process images in the subject while suppressing an increase in memory and power consumption. Is useful for

1、1A カプセル型内視鏡システム
2、2A カプセル型内視鏡
3 受信アンテナユニット
3a〜3h 受信アンテナ
4 受信装置
5 処理装置
5a クレードル
6 表示装置
21 撮像部
22 照明部
23、53、48 制御部
24 無線通信部
25 アンテナ
26 動き検出部
27 メモリ
28、49 電源部
29 エラーカウント部
41 受信部
41a 受信強度測定部
42 送信部
42a 送信アンテナ
43 エラー判定部
44 操作部
45、51 データ送受信部
46 出力部
47、56 記憶部
52 画像処理部
54 表示制御部
55 入力部
DESCRIPTION OF SYMBOLS 1, 1A Capsule-type endoscope system 2, 2A Capsule-type endoscope 3 Reception antenna unit 3a-3h Reception antenna 4 Reception apparatus 5 Processing apparatus 5a Cradle 6 Display apparatus 21 Imaging part 22 Illumination part 23, 53, 48 Control part 24 wireless communication unit 25 antenna 26 motion detection unit 27 memory 28, 49 power supply unit 29 error count unit 41 reception unit 41a reception intensity measurement unit 42 transmission unit 42a transmission antenna 43 error determination unit 44 operation unit 45, 51 data transmission / reception unit 46 output Unit 47, 56 Storage unit 52 Image processing unit 54 Display control unit 55 Input unit

Claims (5)

被検体内に導入されるカプセル型内視鏡であって、
前記被検体内を撮像して画像データを生成する撮像部と、
前記画像データを撮像した際の前記カプセル型内視鏡の動き量を検出する検出部と、
予め設定されている数の前記画像データを、前記動き量と対応付けて記憶する記憶部であって、撮像時刻が最も古い画像データを撮像時刻が最も新しい画像データで上書きして記憶する記憶部と、
前記画像データ及び当該画像データの識別情報を送信するとともに、前記画像データを受信する外部の受信装置から、受信エラーと判定された前記画像データの識別情報を含むエラー通知を受信する送受信部と、
前記エラー通知の前記識別情報に対応する第1の画像データの第1の動き量と、前記記憶部に記憶されている未送信の少なくとも一つの第2の画像データの第2の動き量とを比較することによって、送信対象の画像データを選択する選択部と、
を備え、
前記送受信部は、前記エラー通知を受信した場合、前記選択部が選択した前記送信対象の画像データと、当該画像データの識別情報とを送信する
ことを特徴とするカプセル型内視鏡。
A capsule endoscope introduced into a subject,
An imaging unit that images the inside of the subject and generates image data;
A detection unit that detects the amount of movement of the capsule endoscope when the image data is captured;
A storage unit that stores a predetermined number of the image data in association with the amount of motion, and stores the image data with the oldest imaging time overwritten with the image data with the newest imaging time When,
A transmission / reception unit that transmits the image data and identification information of the image data, and receives an error notification including identification information of the image data determined to be a reception error from an external reception device that receives the image data;
A first motion amount of the first image data corresponding to the identification information of the error notification, and a second motion amount of at least one second image data not yet transmitted stored in the storage unit. A selection unit that selects image data to be transmitted by comparing; and
With
When the transmission / reception unit receives the error notification, the transmission / reception unit transmits the transmission target image data selected by the selection unit and identification information of the image data.
前記選択部は、
前記第1の動き量が前記第2の動き量以上である場合、前記第1の画像データを送信対象として選択するとともに、前記第2の画像データのうち前記第2の動き量が最も小さい第2の画像データを送信対象から除外し、
前記第1の動き量が前記第2の動き量より小さい場合、前記第1の画像データを送信対象から除外する
ことを特徴とする請求項1に記載のカプセル型内視鏡。
The selection unit includes:
When the first motion amount is equal to or greater than the second motion amount, the first image data is selected as a transmission target, and the second motion amount is the smallest among the second image data. 2 image data is excluded from the transmission target,
2. The capsule endoscope according to claim 1, wherein when the first motion amount is smaller than the second motion amount, the first image data is excluded from a transmission target.
前記送受信部は、前記エラー通知を受信した場合、前記選択部が選択した前記送信対象の画像データと、当該画像データの識別情報と、画像選択結果に関する情報とを送信する
ことを特徴とする請求項1に記載のカプセル型内視鏡。
The transmission / reception unit, when receiving the error notification, transmits the image data to be transmitted selected by the selection unit, identification information of the image data, and information about an image selection result. Item 2. The capsule endoscope according to Item 1.
被検体内に導入されるカプセル型内視鏡であって、前記被検体内を撮像して画像データを生成する撮像部と、前記画像データを撮像した際の前記カプセル型内視鏡の動き量を検出する検出部と、予め設定されている数の前記画像データを、前記動き量と対応付けて記憶する記憶部であって、撮像時刻が最も古い画像データを撮像時刻が最も新しい画像データで上書きして記憶する記憶部と、前記画像データ及び当該画像データの識別情報を送信するとともに、受信エラーと判定された前記画像データの識別情報を含むエラー通知を受信する送受信部と、前記エラー通知の前記識別情報に対応する第1の画像データの第1の動き量と、前記記憶部に記憶されている未送信の少なくとも一つの第2の画像データの第2の動き量とを比較することによって、送信対象の画像データを選択する選択部と、を有するカプセル型内視鏡と、
前記カプセル型内視鏡が送信した前記画像データを受信する受信装置であって、前記画像データの受信時にエラーが生じているか否かを判定し、エラーが生じていると判定した場合に、前記カプセル型内視鏡に、エラー判定した画像データの識別情報を含むエラー通知を行う受信装置と、
を備え、
前記送受信部は、前記エラー通知を受信した場合、前記選択部が選択した前記送信対象の画像データと、当該画像データの識別情報とを送信する
ことを特徴とするカプセル型内視鏡システム。
A capsule endoscope introduced into a subject, an imaging unit that images the inside of the subject and generates image data, and a movement amount of the capsule endoscope when the image data is captured And a storage unit that stores a predetermined number of the image data in association with the amount of movement, and the image data with the oldest imaging time is the image data with the newest imaging time. A storage unit that overwrites and stores, a transmission / reception unit that transmits the image data and identification information of the image data, and that receives an error notification including identification information of the image data determined to be a reception error, and the error notification Comparing the first motion amount of the first image data corresponding to the identification information and the second motion amount of at least one second image data not yet transmitted stored in the storage unit. In I, the capsule endoscope having a selection section for selecting image data to be sent,
In the receiving device that receives the image data transmitted by the capsule endoscope, it is determined whether an error has occurred when receiving the image data, and when it is determined that an error has occurred, A receiving device for notifying the capsule endoscope of an error including identification information of the image data determined to be error;
With
When the transmission / reception unit receives the error notification, the transmission / reception unit transmits the transmission target image data selected by the selection unit and identification information of the image data.
被検体内に導入されるカプセル型内視鏡の送信方法であって、
前記被検体内を撮像して画像データを生成する撮像ステップと、
前記画像データを撮像した際の前記カプセル型内視鏡の動き量を検出する検出ステップと、
予め設定されている数の前記画像データを、前記動き量と対応付けて記憶する記憶ステップであって、撮像時刻が最も古い画像データを撮像時刻が最も新しい画像データで上書きして記憶する記憶ステップと、
前記画像データ及び当該画像データの識別情報を送信する送信ステップと、
前記画像データを受信する外部の受信装置から、受信エラーと判定された前記画像データの識別情報を含むエラー通知を受信する受信ステップと、
前記エラー通知の前記識別情報に対応する第1の画像データの第1の動き量と、記憶部に記憶されている未送信の少なくとも一つの第2の画像データの第2の動き量とを比較することによって、送信対象の画像データを選択する選択ステップと、
を含み、
前記送信ステップは、前記エラー通知を受信した場合、前記選択ステップで選択した前記送信対象の画像データと、当該画像データに関連付けられた識別情報とを送信する
ことを特徴とするカプセル型内視鏡の送信方法。
A capsule endoscope transmission method introduced into a subject,
An imaging step of imaging the inside of the subject to generate image data;
A detection step of detecting a movement amount of the capsule endoscope when the image data is captured;
A storage step of storing a preset number of the image data in association with the amount of motion, and storing the image data with the oldest imaging time overwritten with the image data with the newest imaging time When,
Transmitting the image data and identification information of the image data; and
A receiving step of receiving an error notification including identification information of the image data determined to be a reception error from an external receiving device that receives the image data;
Comparing the first motion amount of the first image data corresponding to the identification information of the error notification and the second motion amount of at least one second image data not yet transmitted stored in the storage unit A selection step of selecting image data to be transmitted,
Including
When the error notification is received, the transmission step transmits the image data to be transmitted selected in the selection step and identification information associated with the image data. Capsule endoscope How to send
JP2018097567A 2018-05-22 2018-05-22 Capsule type endoscope, capsule type endoscope system, and transmission method of capsule type endoscope Ceased JP2019201757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018097567A JP2019201757A (en) 2018-05-22 2018-05-22 Capsule type endoscope, capsule type endoscope system, and transmission method of capsule type endoscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018097567A JP2019201757A (en) 2018-05-22 2018-05-22 Capsule type endoscope, capsule type endoscope system, and transmission method of capsule type endoscope

Publications (1)

Publication Number Publication Date
JP2019201757A true JP2019201757A (en) 2019-11-28

Family

ID=68725331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018097567A Ceased JP2019201757A (en) 2018-05-22 2018-05-22 Capsule type endoscope, capsule type endoscope system, and transmission method of capsule type endoscope

Country Status (1)

Country Link
JP (1) JP2019201757A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115530767A (en) * 2022-11-28 2022-12-30 深圳市永吉星光电有限公司 Disposable medical endoscope system and module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005084521A1 (en) * 2004-03-04 2005-09-15 Olympus Corporation Capsule-type medical system
US20090073273A1 (en) * 2007-09-14 2009-03-19 Kang-Huai Wang Data communication between capsulated camera and its external environments
JP2009189475A (en) * 2008-02-13 2009-08-27 Fujifilm Corp Capsule endoscope system
JP2009195343A (en) * 2008-02-19 2009-09-03 Olympus Corp Image processor and image processing program
JP2012071176A (en) * 2005-12-28 2012-04-12 Olympus Medical Systems Corp Method for guiding capsule endoscope, and method for operating magnetic field generator
JP2016054794A (en) * 2014-09-05 2016-04-21 富士フイルム株式会社 Endoscope system, processor device, operation method for endoscope system, and operation method for processor device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005084521A1 (en) * 2004-03-04 2005-09-15 Olympus Corporation Capsule-type medical system
JP2012071176A (en) * 2005-12-28 2012-04-12 Olympus Medical Systems Corp Method for guiding capsule endoscope, and method for operating magnetic field generator
US20090073273A1 (en) * 2007-09-14 2009-03-19 Kang-Huai Wang Data communication between capsulated camera and its external environments
JP2009189475A (en) * 2008-02-13 2009-08-27 Fujifilm Corp Capsule endoscope system
JP2009195343A (en) * 2008-02-19 2009-09-03 Olympus Corp Image processor and image processing program
JP2016054794A (en) * 2014-09-05 2016-04-21 富士フイルム株式会社 Endoscope system, processor device, operation method for endoscope system, and operation method for processor device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115530767A (en) * 2022-11-28 2022-12-30 深圳市永吉星光电有限公司 Disposable medical endoscope system and module
CN115530767B (en) * 2022-11-28 2023-03-10 深圳市永吉星光电有限公司 Disposable medical endoscope system and module

Similar Documents

Publication Publication Date Title
US11234578B2 (en) Receiving apparatus and radio wave interference determination method
JPWO2004096029A1 (en) Capsule endoscope and capsule endoscope system
JP6084339B2 (en) Capsule type endoscope system and method for operating capsule type endoscope system
JP5802861B2 (en) Capsule endoscope system
US20120010480A1 (en) In-vivo information acquiring system
JP5977907B1 (en) Capsule endoscope and capsule endoscope system
WO2015182185A1 (en) Capsule endoscope apparatus
JP2006081719A (en) Capsule endoscope system
JP2019201757A (en) Capsule type endoscope, capsule type endoscope system, and transmission method of capsule type endoscope
US9060675B2 (en) Receiving apparatus and capsule endoscope system
JP6439073B2 (en) Receiving antenna, receiving antenna unit and receiving system
JP6230511B2 (en) Endoscope device
US20200196845A1 (en) Capsule endoscope system, capsule endoscope, and receiving device
US20160317002A1 (en) Capsule endoscope apparatus
JP2006288808A (en) Endoscope system equipped with capsule endoscope
JP5160621B2 (en) Capsule endoscope system
US20200373955A1 (en) Receiving device and receiving method
JP4383134B2 (en) Wireless in-vivo information acquisition device
JP4656824B2 (en) Wireless in-vivo information acquisition device
WO2020144862A1 (en) Capsule endoscope system and reception device
WO2019077837A1 (en) Inference device, medical system, inference method, and inference program
JP6275344B1 (en) Motion determination device, in-subject introduction device, motion determination method, and program
JP2012055630A (en) In-vivo information acquiring system and control method of the in-vivo information acquiring system
US20220416917A1 (en) Processing apparatus, computer-readable recording medium, and operation method
US20220218181A1 (en) Processing apparatus, processing method, and computer readable recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220308

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220315

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20220412

A045 Written measure of dismissal of application [lapsed due to lack of payment]

Free format text: JAPANESE INTERMEDIATE CODE: A045

Effective date: 20220726