KR101416223B1 - Capsule-type endoscope and method of compressing images thereof - Google Patents

Capsule-type endoscope and method of compressing images thereof Download PDF

Info

Publication number
KR101416223B1
KR101416223B1 KR1020120135471A KR20120135471A KR101416223B1 KR 101416223 B1 KR101416223 B1 KR 101416223B1 KR 1020120135471 A KR1020120135471 A KR 1020120135471A KR 20120135471 A KR20120135471 A KR 20120135471A KR 101416223 B1 KR101416223 B1 KR 101416223B1
Authority
KR
South Korea
Prior art keywords
data
unit
pixels
bayer pattern
unit block
Prior art date
Application number
KR1020120135471A
Other languages
Korean (ko)
Other versions
KR20140067781A (en
Inventor
서영대
Original Assignee
주식회사 인트로메딕
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 주식회사 인트로메딕 filed Critical 주식회사 인트로메딕
Priority to KR1020120135471A priority Critical patent/KR101416223B1/en
Publication of KR20140067781A publication Critical patent/KR20140067781A/en
Application granted granted Critical
Publication of KR101416223B1 publication Critical patent/KR101416223B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00064Constructional details of the endoscope body
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4015Demosaicing, e.g. colour filter array [CFA], Bayer pattern
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock

Abstract

캡슐형 내시경 및 캡슐형 내시경의 영상 압축 방법이 개시된다. 캡슐형 내시경은 인체 내부 장기의 영상을 획득하는 촬영부 및 상기 영상을 압축하는 압축부를 포함하며, 상기 촬영부는 상기 영상을 베이어 패턴(bayer pattern)의 데이터로 획득하며, 상기 압축부는 상기 베이어 패턴의 데이터를 기반으로 압축을 수행한다. 따라서, 전송 시간 및 전송 데이터 양을 감소시킴으로써 전력 소모를 최소화할 수 있다. An image compressing method of a capsule endoscope and a capsule endoscope is disclosed. The capsule endoscope includes a photographing unit for acquiring an image of an internal organ of a human body and a compression unit for compressing the image, wherein the photographing unit acquires the image as data of a bayer pattern, And performs compression based on the data. Therefore, power consumption can be minimized by reducing the transmission time and the amount of transmission data.

Description

캡슐형 내시경 및 캡슐형 내시경의 영상 압축 방법{CAPSULE-TYPE ENDOSCOPE AND METHOD OF COMPRESSING IMAGES THEREOF}[0001] CAPSULE-TYPE ENDOSCOPE AND METHOD OF COMPRESSING IMAGES THEREOF [0002]

본 발명은 캡슐형 내시경에 관한 것으로, 보다 상세하게는 캡슐형 내시경의 영상 압축 방법에 관한 것이다.The present invention relates to a capsule endoscope, and more particularly, to a method of compressing an image of a capsule endoscope.

인체 내부의 정보, 특히 의학적 정보를 획득하기 위해 피검사자의 입 또는 항문을 통해 케이블에 부착된 내시경을 삽입하는 방법이 이용되고 있다. 이 방법에 의하며, 도선 또는 광섬유로 이루어진 케이블을 통해 내시경을 직접 제어할 수 있으므로, 인체 내부의 데이터를 확보하기 용이하지만 피검사자에게는 큰 고통이 따른다. 또한, 소장과 같은 장기는 피검사자의 입 또는 항문으로부터 멀리 떨어져 있을뿐더러, 장기의 체강 직경이 작아서 상술한 내시경 방법으로 검사하기 곤란하다는 문제가 있다. A method of inserting an endoscope attached to a cable through an examinee's mouth or anus is used to acquire information inside the human body, particularly medical information. According to this method, since the endoscope can be directly controlled through the cable made of the lead wire or the optical fiber, it is easy to secure the data in the human body, but the sufferer suffers a great deal of suffering. Further, the organs such as the small intestine are distant from the examinee's mouth or anus, and the diameter of the body cavity of the organ is small, which makes it difficult to perform the examination by the above-described endoscopic method.

이를 고려하여, 캡슐형 내시경이 이용되고 있다. 피검사자가 캡슐형 내시경을 구강을 통해 삼키면, 캡슐형 내시경은 인체 내에서 카메라 등으로 필요한 데이터를 획득하고, 획득한 데이터를 인체 외부의 수신 장치로 전송하여 출력할 수 있도록 한다. 이때, 캡슐형 내시경은 인체 외부의 수신 장치로 데이터를 전송하기 위해 많은 전력을 소모하게 된다. 캡슐형 내시경의 경우 구강을 통해 인체 내부로 들어가면 인체 외부로 배출되기 전까지 캡슐형 내시경의 내부에 구비된 배터리에 의해 구동되기 때문에, 상기와 같이 데이터 전송을 위해 많은 전력을 소모하게 되면 소장을 지나 대장까지 영상을 촬영하기 어렵게 되는 문제점이 있다. In consideration of this, a capsule endoscope has been used. When the examinee swallows the capsule endoscope through the oral cavity, the capsule endoscope acquires necessary data with a camera or the like in the human body, and transmits the obtained data to a receiving device outside the human body so as to output it. At this time, the capsule endoscope consumes a lot of power to transmit data to a receiving device outside the human body. In the case of the capsule endoscope, since the capsule endoscope is driven by the battery provided inside the capsule endoscope until it is discharged into the human body through the oral cavity, when a large amount of power is consumed for data transmission as described above, It is difficult to capture images up to a certain distance.

따라서, 전력 소모를 최소화하기 위해서 캡슐형 내시경이 인체 외부의 수신 장치로 전송할 데이터의 양 및 전송 시간을 최소화할 수 있어야 한다. 이를 위해, 본 발명에서는 캡슐형 내시경이 인체 내에서 획득한 데이터를 압축하여 전송하는 방법을 제공한다.Therefore, in order to minimize the power consumption, the capsule endoscope should be able to minimize the amount of data to be transmitted to the receiving device outside the human body and the transmission time. To this end, the present invention provides a method for compressing and transmitting data acquired by a capsule endoscope in a human body.

대한민국 공개특허공보 제10-2008-0060079호Korean Patent Publication No. 10-2008-0060079

본 발명은 캡슐형 내시경이 인체 내부로부터 획득한 데이터를 압축하는 방법을 제공한다.The present invention provides a method for compressing data acquired from the inside of a human body by a capsule endoscope.

본 발명은 전력 소모를 최소화하고 적은 메모리 공간으로 구동이 가능한 캡슐형 내시경을 제공한다.The present invention provides a capsule endoscope capable of minimizing power consumption and being driven with a small memory space.

본 발명의 일 양태에 따르면, 캡슐형 내시경이 제공된다. 상기 캡슐형 내시경은 인체 내부 장기의 영상을 획득하는 촬영부 및 상기 영상을 압축하는 압축부를 포함하며, 상기 촬영부는 상기 영상을 베이어 패턴(bayer pattern)의 데이터로 획득하며, 상기 압축부는 상기 베이어 패턴의 데이터를 기반으로 압축을 수행한다.According to one aspect of the present invention, a capsule endoscope is provided. Wherein the capsule endoscope includes a photographing unit for acquiring an image of an internal organs of a human body and a compressing unit for compressing the image, wherein the photographing unit obtains the image as data of a bayer pattern, Lt; RTI ID = 0.0 > data. ≪ / RTI >

상기 베이어 패턴은 적색(R) 픽셀과 녹색(G) 픽셀이 교대로 나타나는 제1 라인과 녹색(G) 픽셀과 청색(B) 픽셀이 교대로 나타나는 제2 라인을 포함할 수 있다. The Bayer pattern may include a first line where red (R) pixels and green (G) pixels alternate and a second line where green (G) and blue (B) pixels appear alternately.

상기 압축부는 상기 베이어 패턴의 데이터를 압축을 수행할 단위 블록으로 분할하고, 상기 단위 블록에 포함된 픽셀을 기초로 압축을 수행하여 압축 데이터를 생성할 수 있다. The compression unit may divide the data of the Bayer pattern into unit blocks to be compressed, and compress the data based on the pixels included in the unit block to generate compressed data.

상기 압축부는 기준값을 결정하고, 상기 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 차이값을 기초로 상기 압축 데이터를 생성하며, 상기 기준값은 상기 단위 블록에 포함된 픽셀들 중 중간값(median)에 해당하는 픽셀이거나, 상기 단위 블록에 포함된 픽셀들의 평균값(average)일 수 있다.The compression unit determines the reference value and generates the compressed data based on the difference between the reference value and each of the pixels included in the unit block, and the reference value is set to a median of pixels included in the unit block Or may be an average of the pixels included in the unit block.

상기 차이값은 미리 계산된 값들이 저장된 룩업 테이블(Look-Up Table; LUT)을 이용하여 결정되거나, 또는 상기 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 실제 차이값으로부터 검출된 최대값과 최소값을 기초로 동적으로 생성된 룩업 테이블(Look-Up Table; LUT)을 이용하여 결정될 수 있다.The difference value may be determined using a look-up table (LUT) stored in advance, or a maximum value and a minimum value detected from actual difference values between the reference value and the pixels included in the unit block, May be determined using a look-up table (LUT) dynamically generated as a basis.

상기 단위 블록은 상기 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하여 N * N 또는 N * 1 크기의 픽셀로 구성되거나, 상기 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하지 않고 N * N 또는 N * 1 크기의 픽셀로 구성되거나, 또는 상기 베이어 패턴에 포함된 적색(R) 픽셀, 녹색(G) 픽셀 및 청색(B) 픽셀 각각으로만 구성될 수 있다.The unit block may include N * N pixels or N * 1 pixels in consideration of the degree of correlation between the pixels included in the Bayer pattern. Alternatively, the unit block may include N * N or N * 1-sized pixels, or may be composed of only red (R), green (G), and blue (B) pixels included in the Bayer pattern.

상기 압축부에 의해 압축된 영상을 외부 장치로 전송하는 전송부를 더 포함할 수 있다. And a transmission unit for transmitting the image compressed by the compression unit to an external device.

상기 압축부에 의해 압축된 영상을 저장하는 저장부를 더 포함할 수 있다. And a storage unit for storing the image compressed by the compression unit.

본 발명의 다른 양태에 따르면, 캡슐형 내시경의 영상 압축 방법이 제공된다. 상기 방법은 인체 내부 장기의 영상을 획득하는 단계 및 상기 영상을 압축하는 단계를 포함하며, 상기 영상은 베이어 패턴(bayer pattern)의 데이터이며, 상기 영상의 압축은 상기 베이어 패턴의 데이터를 기반으로 수행된다.According to another aspect of the present invention, a method for compressing an image of a capsule endoscope is provided. The method includes obtaining an image of a human internal organ and compressing the image, wherein the image is data of a bayer pattern, and compression of the image is performed based on data of the Bayer pattern do.

상기 베이어 패턴은 적색(R) 픽셀과 녹색(G) 픽셀이 교대로 나타나는 제1 라인과 녹색(G) 픽셀과 청색(B) 픽셀이 교대로 나타나는 제2 라인을 포함할 수 있다.The Bayer pattern may include a first line where red (R) pixels and green (G) pixels alternate and a second line where green (G) and blue (B) pixels appear alternately.

상기 영상을 압축하는 단계는, 상기 베이어 패턴의 데이터를 압축을 수행할 단위 블록으로 분할하는 단계 및 상기 단위 블록에 포함된 픽셀을 기초로 압축을 수행하여 압축 데이터를 생성하는 단계를 포함할 수 있다.The step of compressing the image may include dividing the data of the Bayer pattern into unit blocks to be compressed and generating compressed data by performing compression based on the pixels included in the unit block .

상기 압축 데이터는 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 차이값을 기초로 생성되며, 상기 기준값은 상기 단위 블록에 포함된 픽셀들 중 중간값(median)에 해당하는 픽셀이거나, 상기 단위 블록에 포함된 픽셀들의 평균값(average)일 수 있다.Wherein the compressed data is generated based on a reference value and a difference value between each of the pixels included in the unit block and the reference value is a pixel corresponding to a median among pixels included in the unit block, And may be an average of the included pixels.

상기 차이값은 미리 계산된 값들이 저장된 룩업 테이블(Look-Up Table; LUT)을 이용하여 결정되거나, 또는 상기 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 실제 차이값으로부터 검출된 최대값과 최소값을 기초로 동적으로 생성된 룩업 테이블(Look-Up Table; LUT)을 이용하여 결정될 수 있다. The difference value may be determined using a look-up table (LUT) stored in advance, or a maximum value and a minimum value detected from actual difference values between the reference value and the pixels included in the unit block, May be determined using a look-up table (LUT) dynamically generated as a basis.

상기 단위 블록은 상기 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하여 N * N 또는 N * 1 크기의 픽셀로 구성되거나, 상기 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하지 않고 N * N 또는 N * 1 크기의 픽셀로 구성되거나, 또는 상기 베이어 패턴에 포함된 적색(R) 픽셀, 녹색(G) 픽셀 및 청색(B) 픽셀 각각으로만 구성될 수 있다.The unit block may include N * N pixels or N * 1 pixels in consideration of the degree of correlation between the pixels included in the Bayer pattern. Alternatively, the unit block may include N * N or N * 1-sized pixels, or may be composed of only red (R), green (G), and blue (B) pixels included in the Bayer pattern.

상기 압축된 영상을 외부 장치로 전송하는 단계를 더 포함할 수 있다.And transmitting the compressed image to an external device.

상기 압축된 영상을 메모리에 저장하는 단계를 더 포함할 수 있다. And storing the compressed image in a memory.

본 발명의 다른 양태에 따르면, 캡슐형 내시경으로부터 전송된 데이터를 수신하는 수신장치가 제공된다. 상기 수신장치는 상기 캡슐형 내시경으로부터 전송되는 데이터를 수신하는 수신부 및 상기 데이터를 출력 영상으로 변환하는 변환부를 포함하며, 상기 데이터는 베이어 패턴의 데이터를 기반으로 압축된 압축 데이터이며, 상기 변환부는 상기 압축 데이터를 복호화하여 상기 출력 영상으로 변환한다. According to another aspect of the present invention, there is provided a receiving apparatus for receiving data transmitted from a capsule endoscope. The receiving apparatus includes a receiving unit for receiving data transmitted from the capsule endoscope, and a converting unit for converting the data into an output image, wherein the data is compressed data compressed based on Bayer pattern data, Decodes the compressed data, and converts the decoded data into the output image.

캡슐형 내시경이 인체 내부로부터 획득한 데이터를 압축함으로써, 외부 수신장치로 전송할 데이터의 양 및 전송 시간을 최소화하여 전력 소모를 줄일 수 있다. 또한, 압축한 데이터를 저장하여 메모리 공간을 효율적으로 이용할 수 있다. By compressing the data acquired from the inside of the human body by the capsule endoscope, the amount of data to be transmitted to the external receiving apparatus and the transmission time can be minimized, thereby reducing power consumption. In addition, the compressed data can be stored to efficiently utilize the memory space.

본 발명에 의한 데이터 압축 방법은 구현이 용이하고 압축 손실을 최소화하면서 압축률을 높일 수 있다. The data compression method according to the present invention is easy to implement and can increase the compression rate while minimizing compression loss.

도 1은 캡슐형 내시경을 개략적으로 설명하는 도면이다.
도 2는 본 발명의 실시예에 따른 캡슐형 내시경의 구성을 개략적으로 나타낸 블록도이다.
도 3은 베이어 패턴(bayer pattern)의 데이터 구조를 나타내는 도면이다.
도 4는 본 발명의 일실시예에 따른 단위 블록으로 분할된 베이어 패턴의 데이터를 압축하는 방법에 대해 설명하기 위한 개념도이다.
도 5는 본 발명의 일실시예에 따른 베이어 패턴의 데이터를 압축하여 생성된 압축 데이터의 구조를 나타낸 일례이다.
도 6은 본 발명의 일실시예에 따른 베이어 패턴에 포함된 R, G, B 픽셀 각각에 대해 압축을 수행하는 방법에 대해 설명하기 위한 개념도이다.
도 7은 도 6에 도시된 방법을 통해 생성된 압축 데이터의 구조를 나타낸 일례이다.
도 8은 본 발명의 실시예에 따른 캡슐형 내시경의 영상 압축 방법을 나타낸 순서도이다.
도 9는 본 발명의 실시예에 따른 캡슐형 내시경으로부터 영상을 수신하는 수신장치를 개략적으로 나타낸 블록도이다.
1 is a view for schematically explaining a capsule endoscope.
2 is a block diagram schematically showing the configuration of a capsule endoscope according to an embodiment of the present invention.
3 is a diagram showing a data structure of a bayer pattern.
4 is a conceptual diagram for explaining a method of compressing data of a Bayer pattern divided into unit blocks according to an embodiment of the present invention.
5 illustrates an example of a structure of compressed data generated by compressing Bayer pattern data according to an embodiment of the present invention.
6 is a conceptual diagram for explaining a method of performing compression for each of R, G, and B pixels included in a Bayer pattern according to an embodiment of the present invention.
FIG. 7 shows an example of the structure of compressed data generated through the method shown in FIG.
8 is a flowchart illustrating an image compressing method of the capsule endoscope according to the embodiment of the present invention.
9 is a block diagram schematically illustrating a receiving apparatus for receiving an image from a capsule endoscope according to an embodiment of the present invention.

이하에서는 첨부한 도면을 참조하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 또한 본 발명은 이하에서 설명하는 실시 예에 한정되지 않으며, 본 발명의 기술적 사상의 범위 내에서 여러 가지 상이한 형태로 적용될 수 있다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. Further, the present invention is not limited to the embodiments described below, but can be applied in various different forms within the scope of the technical idea of the present invention.

본 명세서에서 설명하는 구성요소는 필요에 따라 이하에서 설명할 구성요소 이외의 것을 포함할 수 있으며, 본 발명에 직접적인 연관이 없는 부분 또는 중복되는 내용에 대해서는 자세한 설명을 생략한다. 또한, 본 명세서에서 설명하는 각 구성요소의 배치는 필요에 따라서 조정이 가능하며, 하나의 구성요소가 다른 구성요소에 포함될 수도 있고 하나의 구성요소가 둘 이상의 구성요소로 세분화 될 수도 있다. The components described in this specification may include components other than those described below as needed, and a detailed description of parts that are not directly related to the present invention will be omitted. In addition, the arrangement of each component described in this specification can be adjusted as necessary, and one component may be included in another component, and one component may be divided into two or more components.

도 1은 캡슐형 내시경을 개략적으로 설명하는 도면이다. 1 is a view for schematically explaining a capsule endoscope.

도 1을 참조하면, 피검사자의 인체 내부(100)의 장기(110), 예컨대 소장 또는 대장 등을 캡슐형 내시경(120)이 지나가면서 해당 장기의 정보를 획득한다. 캡슐형 내시경(120)이 획득할 수 있는 정보는 소정의 영상 정보, 음향 정보 및/또는 인체 내 매질의 분석 정보 등을 포함한다. Referring to FIG. 1, capsule endoscope 120 passes the organs 110, such as small intestine or large intestine, of a subject's body 100 to acquire information of the organ. The information that the capsule endoscope 120 can acquire includes predetermined image information, acoustic information, and / or analysis information of an in-vivo medium.

획득한 정보는 캡슐형 내시경(120)에서 전기적 신호로 변환되고, 피검사자의 인체에 부착된 수신 전극(130a, 130b)에서 감지된다. 수신 전극(130a, 130b)은 수신한 전기적 신호를 도선(140a, 140b)을 통해서 수신 장치(150)에 전달한다. The obtained information is converted into an electrical signal in the capsule endoscope 120 and is detected at the receiving electrodes 130a and 130b attached to the human subject. The receiving electrodes 130a and 130b transmit the received electrical signals to the receiving device 150 through the leads 140a and 140b.

또는, 획득한 정보는 캡슐형 내시경(120)에서 전기적 신호로 변환되어 무선 주파수(Radio Frequency; RF) 또는 인체 통신(Human Body Communication; HBC) 등을 이용하여 직접 수신 장치(150)에 전달될 수도 있다. Alternatively, the acquired information may be converted into an electrical signal in the capsule endoscope 120 and transmitted to the reception apparatus 150 directly using radio frequency (RF) or human body communication (HBC) have.

무선 주파수를 이용하는 방법은 인체에 무해한 주파수 영역을 이용하여 상기 변환된 전기적 신호를 수신 장치(150)로 전달한다. 인체 통신을 이용하는 방법은 인체 내부(100)의 장기(110)의 연동 운동에 따라 캡슐형 내시경(120)의 외면에 구비된 전극이 인체와 접촉하면 전류가 발생하고, 이러한 전류를 이용하여 상기 변환된 전기적 신호를 수신 장치(150)로 전달한다.The method using radio frequency transmits the converted electrical signal to the receiving apparatus 150 using a harmless frequency range. In the method using human body communication, when an electrode provided on the outer surface of the capsule endoscope 120 is brought into contact with a human body in accordance with the peristaltic movement of the organ 110 in the human body 100, current is generated, And transmits the electrical signal to the receiving device 150.

도 2는 본 발명의 실시예에 따른 캡슐형 내시경의 구성을 개략적으로 나타낸 블록도이다. 2 is a block diagram schematically showing the configuration of a capsule endoscope according to an embodiment of the present invention.

도 2를 참조하면, 캡슐형 내시경(200)은 신체 내부에 손상을 가하지 않고 진행할 수 있도록 매끄러운 원통형 구조를 가질 수 있으며, 캡슐형 내시경(200)의 일단 및/또는 타단은 돔 형태로 구성될 수 있다. 캡슐형 내시경(200)은 촬영부(210), 압축부(220), 저장부(230), 전송부(240) 및 전원부(250)를 포함한다.2, the capsule endoscope 200 may have a smooth cylindrical structure so that the capsule endoscope 200 can proceed without damaging the inside of the body, and one end and / or the other end of the capsule endoscope 200 may be configured as a dome have. The capsule endoscope 200 includes a photographing unit 210, a compression unit 220, a storage unit 230, a transmission unit 240, and a power supply unit 250.

촬영부(210)는 인체 내부 장기를 촬영하여 영상 데이터를 획득하는 구성요소로, 캡슐형 내시경(200)의 일단에 형성될 수도 있고, 양단에 모두 형성될 수도 있다. The photographing unit 210 is a component for photographing the internal organs of the human body and acquiring image data, and may be formed at one end of the capsule endoscope 200 or at both ends thereof.

촬영부(210)는 카메라부(211) 및 조명부(212a, 212b)를 포함하며, 조명부(212a, 212b)가 인체 내부를 조명하면 카메라부(211)가 조명 지점의 영상을 촬영한다.The photographing unit 210 includes a camera unit 211 and illumination units 212a and 212b. When the illumination units 212a and 212b illuminate the inside of the human body, the camera unit 211 captures an image of the illumination point.

카메라부(211)는 CMOS(Complementary Metal-Oxide Semiconductor) 이미지 센서, CCD(Charge-Coupled Device) 이미지 센서 등의 촬상 소자를 포함한다. 촬상 소자에 의해 획득된 영상은 전기적 데이터 또는 전기적 신호로 변환될 수 있다. The camera unit 211 includes an imaging device such as a CMOS (Complementary Metal-Oxide Semiconductor) image sensor or a CCD (Charge-Coupled Device) image sensor. The image acquired by the imaging device can be converted into electrical data or an electrical signal.

조명부(212a, 212b)는 하나 이상의 LED 등의 발광 소자를 포함한다. 조명부(212a, 212b)는 카메라부(211)의 주위에 배치되어 카메라부(211)가 촬영하고자 하는 지점을 조명할 수 있다. The illumination units 212a and 212b include one or more light emitting devices such as LEDs. The illumination units 212a and 212b may be disposed around the camera unit 211 to illuminate a spot to be photographed by the camera unit 211. [

조명부(212a, 212b)는 피검사자에게서 검사할 대상이 무엇인지, 예컨대 암을 검사할 것인지, 암을 검사한다면 어떤 암을 검사할 것인지, 어떤 부위를 검사할 것인지, 단순히 조직의 상태만을 검사할 것인지 등에 따라서 특정 파장의 발광 소자를 사용할 수도 있다. 또한, 촬상 소자로 어떤 소자가 사용되는지에 따라서, 해당 촬상 소자에 적합한 파장의 발광 소자를 사용할 수도 있다.The illuminating units 212a and 212b are used to determine what subjects to examine from the examinees are, for example, whether they are to examine cancer, what type of cancer is to be examined, which area to examine, Therefore, a light emitting element having a specific wavelength may be used. Further, depending on which element is used as the image pickup element, a light emitting element having a wavelength suitable for the image pickup element may be used.

압축부(220)는 촬영부(210)에서 획득한 영상을 압축한다. 촬영부(210)에서 획득한 영상은 베이어 패턴(bayer pattern)의 데이터이며, 압축부(220)는 베이어 패턴의 데이터를 기반으로 압축을 수행하여 압축 데이터를 생성한다. 이때, 촬영부(210)가 베이어 패턴을 사용하는 이미지 센서를 구비할 수 있다. 또는, 촬영부(210)나 압축부(220)에서 상기 획득된 영상을 베이어 패턴의 데이터로 변환할 수도 있다. 압축부(220)의 압축 수행 방법에 대해서는 이하 도 3 내지 도 7을 통해서 구체적으로 설명하도록 한다.The compression unit 220 compresses the image acquired by the photographing unit 210. The image obtained by the photographing unit 210 is data of a bayer pattern, and the compressing unit 220 performs compression based on data of a Bayer pattern to generate compressed data. At this time, the photographing unit 210 may include an image sensor using a Bayer pattern. Alternatively, the photographing unit 210 or the compressing unit 220 may convert the obtained image into data of a Bayer pattern. The compression method of the compression unit 220 will be described in detail with reference to FIGS. 3 to 7. FIG.

저장부(230)는 압축부(220)에 의해 압축된 영상을 저장한다. 예컨대, 저장부(230)는 EEPROM(Electrically Erasable and Programmable ROM), 플래시 메모리(Flash memory) 등과 같은 메모리를 구비하여 압축된 영상을 저장할 수 있다. 저장부(230)는 압축된 영상 이외의 정보(예를 들어, 음향 정보, 조직 정보, PH 정보, 온도 정보, 전기적 임피던스 정보 등)도 저장할 수 있다. The storage unit 230 stores the image compressed by the compression unit 220. For example, the storage unit 230 may include a memory such as an EEPROM (Electrically Erasable and Programmable ROM) and a flash memory to store compressed images. The storage unit 230 may also store information other than the compressed image (e.g., acoustic information, organization information, PH information, temperature information, electrical impedance information, etc.).

전송부(240)는 저장부(230)에 저장된 압축된 영상을 외부 장치, 예컨대 수신 장치(도 1의 150)로 전송한다. 예컨대, 전송부(240)는 압축된 영상을 RF 통신 또는 인체 통신 등을 통해 외부 장치로 전송할 수 있으며, 압축된 영상 이외의 정보(예를 들어, 음향 정보, 조직 정보, PH 정보, 온도 정보, 전기적 임피던스 정보 등)도 전송할 수 있다.The transmission unit 240 transmits the compressed image stored in the storage unit 230 to an external device, for example, a receiving device (150 in FIG. 1). For example, the transmission unit 240 may transmit the compressed image to an external device via RF communication or human body communication, and may transmit information other than the compressed image (for example, acoustic information, organization information, PH information, Electrical impedance information, etc.) can also be transmitted.

전원부(250)는 캡슐형 내시경(200)의 구동을 위한 전원을 공급한다. 전원부(250)는 외부로부터 전원 공급이 없어도 캡슐형 내시경(200) 자체적으로 전원을 공급할 수 있는 배터리를 포함한다.The power supply unit 250 supplies power for driving the capsule endoscope 200. The power supply unit 250 includes a battery that can supply power to the capsule endoscope 200 itself without external power supply.

한편, 본 발명의 실시예에 따른 캡슐형 내시경(200)은 촬영부(210)에서 획득한 영상을 압축하여 외부 장치로 전달하기 때문에, 압축되지 않은 영상 데이터 보다 전송 시간이 덜 걸리고, 보다 작은 대역폭을 이용하여 압축된 영상을 전송할 수 있다. 또한 메모리에 압축된 영상을 저장하기 때문에 메모리 공간을 효율적으로 이용할 수 있다. 따라서, 본 발명의 실시예에 따른 캡슐형 내시경(200)은 전송 전력과 자원(resource)을 보다 효율적으로 이용할 수 있다. Meanwhile, since the capsule endoscope 200 according to the embodiment of the present invention compresses an image acquired by the photographing unit 210 and transmits the compressed image to an external device, it takes less time to transmit than uncompressed image data, The compressed image can be transmitted. In addition, since the compressed image is stored in the memory, the memory space can be efficiently utilized. Therefore, the capsule endoscope 200 according to the embodiment of the present invention can more efficiently use the transmission power and the resources.

이하 도 3을 참조하여 베이어 패턴의 데이터 구조에 대해 먼저 설명하고, 도 4 내지 도 7을 참조하여 본 발명의 실시예에 따른 인체 내부 장기로부터 획득한 영상을 압축하는 방법에 대해 구체적으로 설명한다. 이는 캡슐형 내시경(200), 보다 구체적으로 압축부(220)에 의해 수행된다. The data structure of the Bayer pattern will be described first with reference to FIG. 3, and a method of compressing an image obtained from an internal organs according to an embodiment of the present invention will be described in detail with reference to FIG. 4 to FIG. This is performed by the capsule endoscope 200, more specifically, the compression section 220.

도 3은 베이어 패턴(bayer pattern)의 데이터 구조를 나타내는 도면이다. 베이어 패턴의 데이터는 하나의 픽셀이 R, G, B를 조합한 색 값을 가지는 것이 아니라, 하나의 픽셀이 R, G, B 중 하나에 대한 정보만을 포함한다. R은 적색(Red)이고, G는 녹색(Green)이고, B는 청색(Blue)이다. 3 is a diagram showing a data structure of a bayer pattern. The data of the Bayer pattern does not have a color value in which one pixel is a combination of R, G, and B, but only one pixel contains information on one of R, G, and B. R is red, G is green, and B is blue.

도 3을 참조하면, 베이어 패턴(300)은 적색(R) 픽셀(311)과 녹색(G) 픽셀(312)이 교대로 나타나는 제1 라인(310)과, 녹색(G) 픽셀(321)과 청색(B) 픽셀(322)이 교대로 나타나는 제2 라인(320)을 포함한다. 또한, 베이어 패턴(300)은 제1 라인(310)과 제2 라인(320)이 반복적으로 나타난다. 3, the Bayer pattern 300 includes a first line 310 in which red (R) pixels 311 and green (G) pixels 312 alternate, a green (G) And a second line 320 in which blue (B) pixels 322 appear alternately. Also, the first line 310 and the second line 320 of the Bayer pattern 300 are repeatedly displayed.

전술한 바와 같이, 캡슐형 내시경(200)의 촬영부(210)가 베이어 패턴을 사용하는 이미지 센서를 구비하여 도 3에 도시된 것과 같은 베이어 패턴의 데이터를 획득할 수 있다. 압축부(220)는 상기 획득된 베이어 패턴의 데이터를 압축을 수행할 단위 블록으로 분할하고, 분할된 단위 블록에 포함된 픽셀을 기초로 압축을 수행하여 압축 데이터를 생성한다. 베이어 패턴의 데이터는 픽셀들 사이의 상관도를 고려하여 N * N, N * 1 크기 등의 단위 블록으로 분할될 수 있고, 또는 픽셀들 사이의 상관도를 고려하지 않고 N * N, N * 1 크기 등의 단위 블록으로 분할될 수도 있다. 예를 들어, 픽셀들 사이의 상관도가 높은 R, G, G, B 픽셀 플레인(plane)(311, 312, 321, 322)을 고려하여 N * N, N * 1 크기 등의 단위 블록으로 분할될 수 있고, 또는 베이어 패턴의 컬러 배열과는 상관없이 N * N, N * 1 크기 등의 단위 블록으로 분할될 수도 있다. 또는, 베이어 패턴은 하나의 픽셀에서 하나의 컬러만을 가지기 때문에, 베이어 패턴의 데이터를 각각의 컬러로만 구성된 단위블록으로 형성하여 각 컬러에 대해 압축을 수행할 수도 있다. As described above, the photographing unit 210 of the capsule endoscope 200 can include an image sensor using a Bayer pattern to obtain data of a Bayer pattern as shown in FIG. The compression unit 220 divides the obtained Bayer pattern data into unit blocks to be compressed and performs compression based on the pixels included in the divided unit blocks to generate compressed data. The data of the Bayer pattern can be divided into unit blocks such as N * N and N * 1 sizes considering the correlation between the pixels or N * N and N * 1 without considering the correlation between the pixels Size, or the like. For example, considering the R, G, G, and B pixel planes 311, 312, 321, and 322 having high correlation among pixels, Or may be divided into unit blocks such as N * N, N * 1 size regardless of the color arrangement of the Bayer pattern. Alternatively, since the Bayer pattern has only one color in one pixel, the data of the Bayer pattern may be formed into a unit block composed of only each color, and compression may be performed for each color.

도 4는 본 발명의 일실시예에 따른 단위 블록으로 분할된 베이어 패턴의 데이터를 압축하는 방법에 대해 설명하기 위한 개념도이고, 도 5는 본 발명의 일실시예에 따른 베이어 패턴의 데이터를 압축하여 생성된 압축 데이터의 구조를 나타낸 일례이다. FIG. 4 is a conceptual diagram for explaining a method of compressing data of a Bayer pattern divided into unit blocks according to an embodiment of the present invention. FIG. 5 is a flowchart illustrating a method of compressing data of a Bayer pattern according to an exemplary embodiment of the present invention And shows the structure of the generated compressed data.

도 4를 참조하여 캡슐형 내시경이 베이어 패턴으로부터 픽셀들 사이의 상관도, 즉 R, G, G, B 픽셀 플레인을 고려하지 않고 N * 1 크기의 단위 블록으로 분할한 경우 압축 수행 과정에 대해 설명한다. Referring to FIG. 4, a description will be given of a compression process performed when the capsule endoscope is divided into N * 1 size unit blocks without considering the correlation between pixels from the Bayer pattern, that is, the R, G, G and B pixel planes. do.

캡슐형 내시경은 N * 1 크기의 단위 블록(410)에 포함된 픽셀들(P1, P2, P3, …, Pn -1, Pn)을 기초로 기준값을 결정하고, 결정된 기준값과 단위 블록(410)에 포함된 픽셀 각각과의 차이값을 연산한다. 그리고, 단위 블록(410)에 포함된 픽셀 각각으로부터 연산된 차이값과 기준값을 기초로 압축 데이터를 생성한다. The capsule endoscope determines a reference value based on the pixels P 1 , P 2 , P 3 , ..., P n -1 , P n included in the unit block 410 of size N * 1, And calculates the difference value with respect to each of the pixels included in the unit block 410. The compressed data is generated based on the difference value and the reference value calculated from each of the pixels included in the unit block 410.

여기서, 기준값은 단위 블록(410)에 포함된 픽셀들(P1, P2, P3, …, Pn -1, Pn)의 평균값(average)일 수 있고, 또는 단위 블록(410)에 포함된 픽셀들(P1, P2, P3, …, Pn -1, Pn)의 중간값(median)일 수도 있다. 기준값으로 평균값 또는 중간값을 이용하는 것은 하나의 예시이며, 본 발명이 이에 한정되는 것은 아니다. 이 외 다양한 방법을 통해 단위 블록에 포함된 픽셀들의 기준값을 결정할 수 있다. Here, the reference value may be an average value of the pixels P 1 , P 2 , P 3 ,..., P n -1 , P n included in the unit block 410, May be the median of the included pixels P 1 , P 2 , P 3 , ..., P n -1 , P n . The use of the average value or the intermediate value as the reference value is one example, and the present invention is not limited thereto. The reference value of the pixels included in the unit block can be determined through various other methods.

예를 들어, 단위 블록(410)에 포함된 픽셀들(P1, P2, P3, …, Pn -1, Pn)의 중간값을 추출하여 기준값(Pmed)으로 결정한 경우, 기준값(Pmed)과 픽셀들(P1, P2, P3, …, Pn -1, Pn) 각각과의 차이값(Pd1, Pd2, Pd3, …, Pd (n-1), Pdn)은 다음 수학식 1과 같이 계산될 수 있다.For example, when the intermediate value of the pixels P 1 , P 2 , P 3 , ..., P n -1 , P n included in the unit block 410 is extracted and determined as the reference value P med , (P med) and pixels (P 1, P 2, P 3, ..., P n -1, P n) of the difference value and each of (P d1, P d2, P d3, ..., P d (n-1 ) , P dn ) can be calculated as shown in the following Equation (1).

Figure 112012098236476-pat00001
Figure 112012098236476-pat00001

상기 수학식 1에 의해 계산된 차이값(Pd1, Pd2, Pd3, …, Pd (n-1), Pdn) 및 기준값(Pmed)을 기초로 도 5에 도시된 바와 같이 압축 데이터를 생성할 수 있다. 이때, 상기 수학식 1에 의해 계산된 차이값(Pd1, Pd2, Pd3, …, Pd (n-1), Pdn)은 룩업 테이블(Look-Up Table; LUT)을 이용하여 나타낼 수 있다. 룩업 테이블은 미리 계산된 값들을 저장해 놓은 테이블로, 상기와 같이 계산된 차이값(Pd1, Pd2, Pd3, …, Pd (n-1), Pdn)은 룩업 테이블에 저장된 값으로 매칭(matching)시킬 수 있다. The expression of the difference value calculated by a 1 (P d1, P d2, P d3, ..., P d (n-1), P dn) and the reference compressed as shown in Figure 5 in the (P med) based Data can be generated. The difference values P d1 , P d2 , P d3 , ..., P d (n-1) , P dn calculated by the above Equation 1 are represented using a look-up table (LUT) . The lookup table is a table in which previously calculated values are stored. The calculated difference values P d1 , P d2 , P d3 , ..., P d (n-1) , P dn are values stored in the lookup table Can be matched.

예를 들어, 룩업 테이블이 차이값에 대해 미리 계산된 16개의 값들(예를 들어, -128, -64, -32, -16, -8, -4, -2, -1, 1, 2, 4, 8, 16, 32, 64, 128)을 배열로 구성한 경우라면, 룩업 테이블의 값과 매칭된 차이값(Pd1, Pd2, Pd3, …, Pd (n-1), Pdn) 각각은 4비트(bit)로 나타낼 수 있다. 왜냐하면 룩업 테이블이 배열로 구성되어 있기 때문에, 룩업 테이블의 값과 매칭된 차이값은 배열의 인덱스 값으로 표시할 수 있다. 즉, 룩업 테이블이 16개의 값들로 구성되므로 이와 대응되는 인덱스도 16개가 필요하다. 예컨대, 인덱스는 0000부터 1111까지 4비트의 2진수로 표현될 수 있다.For example, if the lookup table contains 16 values (e.g., -128, -64, -32, -16, -8, -4, -2, -1, 4, 8, 16, 32, 64, 128) for, if the case is configured in an array, the difference value matched with the value of the look-up table (P d1, P d2, P d3, ..., P d (n-1), P dn ) Can be represented by 4 bits. Because the lookup table is organized as an array, the values of the lookup table and the matched difference can be represented by the index value of the array. That is, since the lookup table is composed of 16 values, 16 corresponding indexes are required. For example, the index can be represented by a 4-bit binary number from 0000 to 1111.

아래 표 1은 상술한 것과 같이 16개의 미리 계산된 값들을 가지는 룩업 테이블을 이용하여 차이값을 결정한 경우 압축 데이터의 각 항목 및 각 항목에 대한 비트 수를 나타낸 일예이다.Table 1 below shows an example of each item of compressed data and the number of bits for each item when a difference value is determined using a look-up table having 16 pre-calculated values as described above.

항목Item 비트 수(bit count)Bit count 비고Remarks Pmed P med 88 N * 1 픽셀 중 중간값에 해당하는 픽셀Pixels corresponding to the median of N * 1 pixels Pd1 P d1 44 중간값에 해당하는 픽셀(Pmed)과 P1 픽셀 간의 차이값을 룩업 테이블을 이용하여 비트 수를 줄인 값The difference value between the pixel (P med ) corresponding to the intermediate value and the pixel P 1 is calculated by using a lookup table Pd2 P d2 44 중간값에 해당하는 픽셀(Pmed)과 P2 픽셀 간의 차이값을 룩업 테이블을 이용하여 비트 수를 줄인 값The difference value between the pixel (P med ) and the P 2 pixel corresponding to the intermediate value is calculated by using a lookup table ... ... Pdn P dn 44 중간값에 해당하는 픽셀(Pmed)과 Pn 픽셀 간의 차이값을 룩업 테이블을 이용하여 비트 수를 줄인 값The difference value between the pixel (P med ) and the pixel P n corresponding to the intermediate value is calculated by using the lookup table to reduce the number of bits

상술한 바와 같이, 16개의 미리 계산된 값을 배열로 저장하여 구성된 룩업 테이블은 하나의 예시이며, 본 발명이 이에 한정되는 것은 아니다. 보다 많은 값들을 가지는 룩업 테이블을 이용할 수도 있다. 이때 압축 데이터의 길이는 길어질 수 있으나 보다 많은 수의 미리 계산된 값들을 가지므로 상기 수학식 1과 같이 계산된 실제 차이값과 비슷한 값을 가질 가능성은 높아진다. As described above, the lookup table configured by storing 16 pre-calculated values in an array is one example, and the present invention is not limited thereto. A look-up table with more values may be used. At this time, although the length of the compressed data may be long, since it has a larger number of pre-computed values, the probability of having a value similar to the actual difference value calculated as shown in Equation (1) increases.

또는, 룩업 테이블을 동적으로 생성하여 이용할 수도 있다. 예컨대, 상기 수학식 1과 같이 계산된 실제 차이값들로부터 검출된 최대값과 최소값, 그리고 최대값과 최소값 사이의 값들을 기초로 룩업 테이블을 생성할 수 있다. Alternatively, a lookup table may be dynamically generated and used. For example, the lookup table may be generated based on the maximum value and the minimum value detected from the actual difference values calculated as shown in Equation (1), and the values between the maximum value and the minimum value.

따라서, 본 발명의 실시예에 따른 압축 데이터는 룩업 테이블을 이용하여 단위 블록에 포함된 픽셀의 차이값에 대한 정보를 압축하여 생성하기 때문에, 고정 길이 데이터를 가진다. 또한, 고정 길이의 압축 데이터로 생성되기 때문에 실시간 압축이 가능하다. Therefore, the compressed data according to the embodiment of the present invention has fixed-length data because the compressed data is generated by compressing information on the difference value of the pixels included in the unit block using the lookup table. In addition, real-time compression is possible because it is generated with fixed-length compressed data.

상술한 바와 같이 N * 1 크기의 단위 블록으로 분할한 경우에는 압축을 수행할 때 버퍼(buffer) 공간이 필요하지 않는 장점이 있다. 단위 블록을 대상으로 압축을 수행할 때 단위 블록을 수직, 수평 등의 방향으로 한 라인씩 스캔(scan)하면서 압축을 하므로 스캔에 필요한 버퍼가 필요하나, N * 1 크기의 단위 블록인 경우에는 단위 블록이 한 라인으로 구성되어서 버퍼가 없이도 압축을 수행할 수 있다. As described above, when the data is divided into N * 1 size unit blocks, a buffer space is not required for performing compression. When compression is performed on a unit block, the unit block is compressed while scanning one line in the vertical and horizontal directions. Therefore, a buffer necessary for the scan is required. However, in the case of a unit block of N * 1 size, The block consists of a single line so that compression can be performed without a buffer.

이상, 도 4 및 도 5를 참조하여 캡슐형 내시경이 베이어 패턴으로부터 픽셀들 사이의 상관도, 즉 R, G, G, B 픽셀 플레인을 고려하지 않고 N * 1 크기의 단위 블록으로 분할한 경우 압축 수행 과정에 대해 설명하였으나, 이는 하나의 예시이다. 도 4에 도시된 바와 같이 캡슐형 내시경이 베이어 패턴으로부터 픽셀들 사이의 상관도, 즉 R, G, G, B 픽셀 플레인을 고려하지 않고 N * N 크기의 단위 블록(400)으로 분할한 경우에도 상술한 것과 동일한 압축 방법으로 N * N 크기의 단위 블록(400)에 대해서도 적용될 수 있으며, 상세한 설명은 생략하도록 한다. 이때, N * 1 크기의 단위 블록에 대해서 압축을 수행하는 것 보다, N * N 크기의 단위 블록에 대해서 압축을 수행하면 PSNR(Peak Signal to Noise Ratio)이 더 높게 나타난다. 여기서, PSNR은 최대 신호 대 잡음비를 나타내는 값으로서, 주로 영상 또는 동영상 손실 압축에서 화질 손실 정보를 평가할 때 사용된다. 예컨대, 원본 영상과 압축 영상 간의 차이를 PSNR을 이용하여 나타낼 수 있으며, PSNR은 두 영상 간의 차이가 적을수록 높은 값을 가진다. 4 and 5, when the capsule endoscope is divided into N * 1 size unit blocks without considering the correlation between the pixels from the Bayer pattern, that is, the R, G, G, and B pixel planes, Although the process has been described, this is an example. As shown in FIG. 4, even when the capsule endoscope is divided into N * N sized unit blocks 400 without considering the correlation between the pixels from the Bayer pattern, that is, the R, G, G and B pixel planes The N × N size unit block 400 can be applied to the N × N unit block 400 by the same compression method as described above, and a detailed description thereof will be omitted. At this time, compression is performed for N * N sized unit blocks rather than compression for N * 1 size unit blocks, and the PSNR (Peak Signal to Noise Ratio) is higher. Here, PSNR is a value indicating a maximum signal-to-noise ratio and is mainly used for evaluating image quality loss information in image or moving picture loss compression. For example, the difference between the original image and the compressed image can be expressed using the PSNR, and the PSNR has a higher value as the difference between the two images is smaller.

일반적으로 영상 데이터에서 하나의 픽셀은 그 주변에 있는 픽셀들과 가장 높은 상관도를 가지기 때문에, N * 1 크기의 단위 블록에 비해서 N * N 크기의 단위 블록이 공간적으로 단위 블록에 포함된 픽셀들 사이의 상관도가 높을 가능성이 크다. 만일 같은 개수의 픽셀(예를 들어, N * N = M * 1)을 압축하는 경우 N * N 크기의 단위 블록으로 압축했을 때 더 높은 PSNR 값을 가질 수 있다. In general, since one pixel in the image data has the highest correlation with surrounding pixels, a unit block of size N * N is smaller than an image block of size N * 1, Is highly likely to be high. If compressing the same number of pixels (for example, N * N = M * 1), it may have a higher PSNR value when compressed into N * N sized unit blocks.

또한, 본 발명의 실시예에 따른 캡슐형 내시경은 베이어 패턴으로부터 픽셀들 사이의 상관도를 고려하여 N * N, N * 1 크기 등의 단위 블록으로 분할하고, 분할된 단위 블록에 포함된 픽셀을 기초로 압축을 수행하여 압축 데이터를 생성할 수 있다. 이때, 베이어 패턴으로부터 R, G, G, B 픽셀 플레인에 따라 단위 블록으로 분할되기 때문에, 단위 블록에 포함된 픽셀들 간의 상관도가 높게 된다. 따라서, 캡슐형 내시경에서 획득된 원본 영상과 압축 영상 간의 차이가 적어지게 되므로 상술한 R, G, G, B 픽셀 플레인을 고려하지 않고 압축을 수행한 경우보다 PSNR이 높은 값을 갖게 된다. 여기서, R, G, G, B 픽셀 플레인에 따라 분할된 N * N, N * 1 크기 등의 단위 블록에 대해서도 도 4 및 도 5를 통해 상술한 것과 동일한 압축 수행 과정을 적용할 수 있으므로 상세한 설명은 생략한다. In addition, the capsule endoscope according to the embodiment of the present invention divides the capsule endoscope into unit blocks such as N * N, N * 1 size in consideration of the correlation between pixels from the Bayer pattern, Compressed data can be generated by performing compression on a basis. At this time, since the Bayer pattern is divided into unit blocks according to the R, G, G, and B pixel planes, the degree of correlation between the pixels included in the unit block is high. Therefore, since the difference between the original image and the compressed image obtained in the capsule endoscope is reduced, the PSNR is higher than that in the case of performing compression without considering the R, G, G, and B pixel planes. Here, the same compression process as described above with reference to FIGS. 4 and 5 can be applied to unit blocks such as N * N and N * 1 sizes divided according to the R, G, G, and B pixel planes. Is omitted.

한편, 베이어 패턴은 하나의 픽셀이 R, G, B 중 하나에 대한 정보만을 포함하므로, 본 발명의 실시예에 따른 캡슐형 내시경은 베이어 패턴으로부터 R, G, B 각각을 추출하여 예컨대, R 픽셀로만 구성된 단위 블록, G 픽셀로만 구성된 단위 블록, B 픽셀로만 구성된 단위 블록으로 구성하여 압축을 수행할 수도 있다. On the other hand, the capsule endoscope according to the embodiment of the present invention extracts each of R, G, and B from the Bayer pattern, and extracts each of R pixels, , A unit block composed of only G pixels, and a unit block composed of only B pixels.

도 6은 본 발명의 일실시예에 따른 베이어 패턴에 포함된 R, G, B 픽셀 각각에 대해 압축을 수행하는 방법을 설명하기 위한 개념도이고, 도 7은 도 6에 도시된 방법을 통해 생성된 압축 데이터의 구조를 나타낸 일례이다. FIG. 6 is a conceptual diagram for explaining a method of performing compression for each of R, G, and B pixels included in a Bayer pattern according to an embodiment of the present invention, and FIG. Is an example of a structure of compressed data.

도 6을 참조하면, 캡슐형 내시경이 베이어 패턴으로부터 R 픽셀에 해당하는 픽셀들(R1, R2, R3, R4)만 추출하여 단위 블록을 구성할 수 있다. 캡슐형 내시경은 단위 블록에 포함된 픽셀들(R1, R2, R3, R4)을 기초로 기준값을 결정하고, 결정된 기준값과 단위 블록에 포함된 픽셀들(R1, R2, R3, R4) 각각과의 차이값을 연산한다. Referring to FIG. 6, the capsule endoscope can extract only pixels (R 1 , R 2 , R 3 , R 4 ) corresponding to R pixels from a Bayer pattern to form a unit block. The capsule endoscope determines a reference value based on the pixels (R 1 , R 2 , R 3 , and R 4 ) included in the unit block, and determines the reference values and the pixels (R 1 , R 2 , R 3 , and R 4 , respectively.

기준값은 상술한 바와 같이, 단위 블록에 포함된 픽셀들의 평균값, 또는 단위 블록에 포함된 픽셀들의 중간값을 이용할 수 있고, 또는 이 외 다양한 방법을 통해 기준값을 결정할 수도 있다. As described above, the reference value may be an average value of the pixels included in the unit block, or an intermediate value of the pixels included in the unit block, or may be determined through various other methods.

예컨대, 단위 블록에 포함된 픽셀들(R1, R2, R3, R4) 중 중간값을 추출하여 기준값(Rmed)으로 결정할 수 있고, 이때 중간값에 해당하는 픽셀이 R4라고 하면 다음 수학식 2와 같이 기준값(Rmed) 및 기준값(Rmed)과 픽셀들(R1, R2, R3) 각각과의 차이값(Rd1, Rd2, Rd3)을 계산할 수 있다.For example, an intermediate value among the pixels R 1 , R 2 , R 3 , and R 4 included in the unit block can be extracted and determined as the reference value R med . At this time, if the pixel corresponding to the intermediate value is R 4 The difference values R d1 , R d2 and R d3 between the reference value R med and the reference value R med and the respective pixels R 1 , R 2 and R 3 can be calculated as shown in the following equation ( 2 ).

Figure 112012098236476-pat00002
Figure 112012098236476-pat00002

상기 수학식 2에 의해 계산된 실제 차이값(Rd1, Rd2, Rd3) 각각은 상술한 바와 같이 룩업 테이블에 저장된 값들 중 하나의 값과 매칭되고, 예컨대 매칭된 값에 해당하는 인덱스 값으로 차이값이 결정될 수 있다. 이때, 룩업 테이블은 상술한 바와 같이 미리 계산된 값들을 저장해 놓을 수도 있고, 또는 동적으로 생성하여 사용할 수도 있다. 예컨대, 각 픽셀의 실제 계산된 차이값들 중 최대값 및 최소값을 기초로 동적으로 생성할 수도 있다. Each of the actual difference values R d1 , R d2 , and R d3 calculated by Equation (2) is matched with one of the values stored in the look-up table as described above. For example, The difference value can be determined. At this time, the lookup table may store the previously calculated values as described above, or may be used to generate the values dynamically. For example, it may be dynamically generated based on a maximum value and a minimum value among actually calculated difference values of each pixel.

캡슐형 내시경은 단위 블록 내 각 픽셀의 차이값이 결정되면 이를 기초로 도 7에 도시된 것과 같은 압축 데이터를 생성한다. 아래 표 2는 도 7에 도시된 압축 데이터의 각 항목 및 각 항목에 대한 비트 수를 나타낸 일예이다. The capsule endoscope generates compressed data as shown in FIG. 7 based on the difference value of each pixel in the unit block. Table 2 below is an example showing the number of bits for each item and each item of the compressed data shown in FIG.

항목Item 비트 수(bit count)Bit count 비고Remarks Rmed R med 88 R1, R2, R3, R4 픽셀 중 중간값에 해당하는 픽셀Pixels corresponding to intermediate values of R 1 , R 2 , R 3 , and R 4 pixels PP 22 중간값에 해당하는 픽셀(R4)의 위치The position of the pixel (R 4 ) corresponding to the intermediate value Rd1 R d1 4 또는 54 or 5 중간값에 해당하는 픽셀(R4)과 R1 픽셀 간의 차이값을 룩업 테이블을 이용하여 비트 수를 줄인 값The difference value between the pixel (R 4 ) corresponding to the intermediate value and the pixel value of R 1 is calculated by using a lookup table Rd2 R d2 4 또는 54 or 5 중간값에 해당하는 픽셀(R4)과 R2 픽셀 간의 차이값을 룩업 테이블을 이용하여 비트 수를 줄인 값The difference value between the pixel (R 4 ) corresponding to the intermediate value and the pixel value of the R 2 pixel is calculated by using a lookup table Rd3 R d3 4 또는 54 or 5 중간값에 해당하는 픽셀(R4)과 R3 픽셀 간의 차이값을 룩업 테이블을 이용하여 비트 수를 줄인 값The difference value between the pixel (R 4 ) and the R 3 pixel corresponding to the intermediate value is calculated by using the lookup table to reduce the number of bits

이상, 베이어 패턴으로부터 R 픽셀에 해당하는 픽셀들(R1, R2, R3, R4)을 추출하여 단위 블록으로 구성한 경우에 압축하는 과정에 대해 설명하였으나, 베이어 패턴으로부터 G 픽셀 또는 B 픽셀에 해당하는 픽셀들을 추출하여 단위 블록으로 구성한 경우에도 상술한 압축 방법을 적용할 수 있으므로, 상세한 설명을 생략한다. Although the process of extracting the pixels (R 1 , R 2 , R 3 , R 4 ) corresponding to the R pixel from the Bayer pattern and composing the unit block has been described above, The above-described compression method can be applied to the case where pixels corresponding to the pixels are extracted and constituted as a unit block, and a detailed description thereof will be omitted.

도 8은 본 발명의 실시예에 따른 캡슐형 내시경의 영상 압축 방법을 나타낸 순서도이다. 8 is a flowchart illustrating an image compressing method of the capsule endoscope according to the embodiment of the present invention.

도 8을 참조하면, 캡슐형 내시경은 인체 내부 장기를 촬영하여 베이어 패턴의 영상을 획득한다(S800). 캡슐형 내시경은 상술한 바와 같이 베이어 패턴을 사용하는 이미지 센서를 구비하여 인체 내부 장기의 영상을 촬영함으로써 베이어 패턴의 영상을 획득할 수 있다. Referring to FIG. 8, the capsule endoscope captures an internal organs of a human body to acquire an image of a Bayer pattern (S800). The capsule endoscope has an image sensor using a Bayer pattern as described above, and can acquire a Bayer pattern image by capturing an image of the internal organs of the human body.

캡슐형 내시경은 베이어 패턴의 영상을 압축을 수행할 단위 블록으로 분할한다(S810). 단위 블록은 상술한 바와 같이 베이어 패턴에 포함된 픽셀들 사이의 상관도, 즉 R, G, G, B 픽셀 플레인을 기초로 N * N, N * 1 크기의 픽셀로 구성될 수 있다. 또는 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하지 않고 N * N, N * 1 크기의 픽셀로 구성될 수도 있다. 또는 베이어 패턴에 포함된 픽셀들의 컬러, 즉 R, G, B 픽셀 각각으로만 구성될 수도 있다. 여기서, R, G, G, B 픽셀 플레인은 도 3에 도시된 바와 같이 R 픽셀과 G 픽셀을 포함하는 제1 라인, G 픽셀과 B 픽셀을 포함하는 제2 라인으로 구성된 픽셀 배열을 말한다. N은 자연수로 픽셀의 개수를 말한다. The capsule endoscope divides the Bayer pattern image into unit blocks to be compressed (S810). The unit block may be composed of pixels of N * N, N * 1 size based on the degree of correlation between the pixels included in the Bayer pattern, that is, the R, G, G, and B pixel planes as described above. Or a pixel of N * N, N * 1 size without considering the correlation between the pixels included in the Bayer pattern. Or only the colors of the pixels included in the Bayer pattern, i.e., R, G, and B pixels, respectively. Here, the R, G, G, and B pixel planes refer to a pixel array composed of a first line including R pixels and G pixels, and a second line including G pixels and B pixels, as shown in FIG. N is the natural number and the number of pixels.

캡슐형 내시경은 기준값과 단위 블록에 포함된 픽셀 각각 간의 차이값을 결정한다(S820). 기준값은 상술한 바와 같이 단위 블록에 포함된 픽셀들의 평균값(average)을 이용할 수 있고, 또는 단위 블록에 포함된 픽셀들의 중간값(median)을 이용할 수도 있다. 물론, 이 외 다양한 방법을 이용하여 기준값을 정할 수 있다. 차이값은 상술한 바와 같이 룩업 테이블(Look-Up Table; LUT)을 이용하여 결정될 수 있다. 여기서, 룩업 테이블은 미리 계산된 값들을 저장해 놓은 테이블로, 기준값과 단위 블록에 포함된 픽셀 각각 간의 실제 차이값이 산출되면 룩업 테이블에 저장된 값들과 매칭하여, 매칭된 값에 해당하는 인덱스 값을 차이값으로 결정할 수 있다. 또한, 룩업 테이블은 동적으로 생성하여 사용할 수도 있다. 예컨대, 기준값과 단위 블록에 포함된 픽셀 각각 간의 실제 차이값으로부터 최대값과 최소값을 검출하고, 이를 바탕으로 동적으로 룩업 테이블을 생성할 수도 있다. The capsule endoscope determines a difference value between the reference value and each of the pixels included in the unit block (S820). The reference value may be an average value of pixels included in the unit block as described above, or may be a median of pixels included in the unit block. Of course, the reference value can be determined by various other methods. The difference value may be determined using a look-up table (LUT) as described above. The lookup table is a table in which previously calculated values are stored. When the actual difference value between the reference value and each of the pixels included in the unit block is calculated, the lookup table is matched with the values stored in the lookup table, Value. ≪ / RTI > The lookup table can also be generated and used dynamically. For example, the maximum value and the minimum value may be detected from the reference value and the actual difference value between each pixel included in the unit block, and the lookup table may be dynamically generated based on the detected maximum value and the minimum value.

캡슐형 내시경은 차이값을 기초로 압축 데이터를 생성한다(S830). 캡슐형 내시경은 기준값에 대한 정보, 각 픽셀의 차이값에 대한 정보 등을 부호화하여 압축 데이터를 생성할 수 있다. 이때, 각 픽셀의 차이값에 대한 정보는 룩업 테이블을 이용하여 결정된 값으로 부호화되기 때문에, 기준값과 각 픽셀 간의 실제 계산된 차이값 보다는 적은 비트 수를 사용하여 부호화될 수 있다. 또한, 각 픽셀의 차이값에 대한 정보를 룩업 테이블을 이용하여 부호화하기 때문에 고정 길이의 압축 데이터를 생성할 수 있다. 따라서, 본 발명에 따르면 압축을 실시간으로 처리할 수 있고 높은 압축 비율로 압축할 수 있다. The capsule endoscope generates compressed data based on the difference value (S830). The capsule endoscope can generate compressed data by encoding information on reference values, information on difference values of respective pixels, and the like. At this time, since the information on the difference value of each pixel is encoded into the determined value using the lookup table, it can be encoded using a smaller number of bits than the reference value and the actually calculated difference value between each pixel. In addition, since the information on the difference value of each pixel is encoded using the lookup table, fixed length compressed data can be generated. Therefore, according to the present invention, compression can be processed in real time and compressed at a high compression ratio.

도 9는 본 발명의 실시예에 따른 캡슐형 내시경으로부터 영상을 수신하는 수신장치를 개략적으로 나타낸 블록도이다. 9 is a block diagram schematically illustrating a receiving apparatus for receiving an image from a capsule endoscope according to an embodiment of the present invention.

도 9를 참조하면, 수신장치(900)는 수신부(910), 변환부(920) 및 출력부(930)를 포함한다. 9, a receiving apparatus 900 includes a receiving unit 910, a converting unit 920, and an outputting unit 930. [

수신부(910)는 캡슐형 내시경으로부터 전송되는 데이터를 수신한다. 상기 데이터는 베이어 패턴의 데이터를 기초로 압축을 수행하여 생성된 압축 데이터이며, 그 외 다른 정보(예를 들어, 음향 정보, 조직 정보, PH 정보, 온도 정보, 전기적 임피던스 정보 등)도 포함할 수 있다. The receiving unit 910 receives data transmitted from the capsule endoscope. The data may be compressed data generated by performing compression based on the Bayer pattern data and may include other information (e.g., acoustic information, organization information, PH information, temperature information, electrical impedance information, etc.) have.

한편, 수신부(910)는 캡슐형 내시경 피검사자의 신체에 부착되는 전극 또는 패드 형태로 구성될 수도 있다. Meanwhile, the receiving unit 910 may be configured in the form of an electrode or pad attached to the body of the capsule endoscope examinee.

변환부(920)는 수신부(910)가 수신한 데이터, 즉 압축 데이터를 복호화하여 출력 영상으로 변환한다. 예를 들어, 압축 데이터에 포함된 정보, 즉 각 픽셀의 차이값에 대한 정보를 추출하고, 이를 압축 데이터에 포함된 기준값 정보와 더해서 복호화하여 출력 영상으로 변환할 수 있다. The converting unit 920 decodes the data received by the receiving unit 910, that is, the compressed data, and converts the decoded data into an output image. For example, the information included in the compressed data, that is, information on the difference value of each pixel may be extracted and added to the reference value information included in the compressed data to be decoded and converted into an output image.

출력부(930)는 변환된 출력 영상을 출력한다. 예컨대, LCD와 같은 장치를 통해 출력 영상을 디스플레이 할 수 있다. The output unit 930 outputs the converted output image. For example, an output image can be displayed through an apparatus such as an LCD.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시 예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시 예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호범위는 특허청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다. The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the claims, and all technical ideas within the scope of the claims should be construed as being included in the scope of the present invention.

Claims (17)

인체 내부 장기의 영상을 베이어 패턴(bayer pattern)의 데이터로 획득하는 촬영부; 및
상기 베이어 패턴의 데이터를 기반으로 압축을 수행하는 압축부;를 포함하며,
상기 압축부는 상기 베이어 패턴의 데이터를 압축을 수행할 단위 블록으로 분할하고, 상기 단위 블록에 포함된 픽셀을 기초로 압축을 수행하여 압축 데이터를 생성하며,
상기 압축 데이터는 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 차이값을 기초로 생성된 고정 길이 데이터이며,
상기 차이값은 상기 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 실제 차이값으로부터 검출된 최대값과 최소값을 기초로 동적으로 생성된 룩업 테이블(Look-Up Table; LUT)을 이용하여 결정되는 것을 특징으로 하는 캡슐형 내시경.
A photographing unit for acquiring images of an internal organs of a human body as data of a bayer pattern; And
And a compression unit for performing compression based on the data of the Bayer pattern,
Wherein the compression unit divides the data of the Bayer pattern into unit blocks to be compressed and performs compression based on the pixels included in the unit block to generate compressed data,
Wherein the compressed data is fixed length data generated based on a reference value and a difference value between pixels included in the unit block,
The difference value is determined using a look-up table (LUT) dynamically generated based on the maximum value and the minimum value detected from the actual difference between the reference value and each of the pixels included in the unit block .
제1항에 있어서,
상기 베이어 패턴은 적색(R) 픽셀과 녹색(G) 픽셀이 교대로 나타나는 제1 라인과 녹색(G) 픽셀과 청색(B) 픽셀이 교대로 나타나는 제2 라인을 포함하는 것을 특징으로 하는 캡슐형 내시경.
The method according to claim 1,
Wherein the Bayer pattern comprises a first line in which red (R) pixels and green (G) pixels alternate and a second line in which green (G) and blue (B) Endoscope.
삭제delete 제1항에 있어서,
상기 기준값은 상기 단위 블록에 포함된 픽셀들 중 중간값(median)에 해당하는 픽셀이거나, 상기 단위 블록에 포함된 픽셀들의 평균값(average)인 것을 특징으로 하는 캡슐형 내시경.
The method according to claim 1,
Wherein the reference value is a pixel corresponding to a median of pixels included in the unit block or an average value of pixels included in the unit block.
삭제delete 제1항에 있어서,
상기 단위 블록은 상기 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하여 N * N 또는 N * 1 크기의 픽셀로 구성되거나, 상기 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하지 않고 N * N 또는 N * 1 크기의 픽셀로 구성되거나, 또는 상기 베이어 패턴에 포함된 적색(R) 픽셀, 녹색(G) 픽셀 및 청색(B) 픽셀 각각으로만 구성되는 것을 특징으로 하는 캡슐형 내시경.
The method according to claim 1,
The unit block may include N * N pixels or N * 1 pixels in consideration of the degree of correlation between the pixels included in the Bayer pattern. Alternatively, the unit block may include N * N or N * 1 size pixels, or each of the red (R), green (G) and blue (B) pixels included in the Bayer pattern.
제1항에 있어서,
상기 압축부에 의해 압축된 영상을 외부 장치로 전송하는 전송부를 더 포함하는 것을 특징으로 하는 캡슐형 내시경.
The method according to claim 1,
And a transmission unit for transmitting the image compressed by the compression unit to an external device.
제1항에 있어서,
상기 압축부에 의해 압축된 영상을 저장하는 저장부를 더 포함하는 것을 특징으로 하는 캡슐형 내시경.
The method according to claim 1,
And a storage unit for storing the image compressed by the compression unit.
캡슐형 내시경의 영상 압축 방법에 있어서,
인체 내부 장기의 영상을 베이어 패턴(bayer pattern)의 데이터로 획득하는 단계; 및
상기 베이어 패턴의 데이터를 기반으로 압축을 수행하는 단계;를 포함하며,
상기 베이어 패턴의 데이터를 기반으로 압축을 수행하는 단계에서는,
상기 베이어 패턴의 데이터를 압축을 수행할 단위 블록으로 분할하고, 상기 단위 블록에 포함된 픽셀을 기초로 압축을 수행하여 압축 데이터를 생성하며,
상기 압축 데이터는 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 차이값을 기초로 생성된 고정 길이 데이터이며,
상기 차이값은 상기 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 실제 차이값으로부터 검출된 최대값과 최소값을 기초로 동적으로 생성된 룩업 테이블(Look-Up Table; LUT)을 이용하여 결정되는 것을 특징으로 하는 캡슐형 내시경의 영상 압축 방법.
A method of compressing an image of a capsule endoscope,
Obtaining an image of a human internal organ by using data of a bayer pattern; And
And performing compression based on the data of the Bayer pattern,
In the step of performing compression based on the data of the Bayer pattern,
Dividing the data of the Bayer pattern into unit blocks to be compressed and performing compression based on the pixels included in the unit block to generate compressed data,
Wherein the compressed data is fixed length data generated based on a reference value and a difference value between pixels included in the unit block,
The difference value is determined using a look-up table (LUT) dynamically generated based on the maximum value and the minimum value detected from the actual difference between the reference value and each of the pixels included in the unit block Of the capsule endoscope.
제9항에 있어서,
상기 베이어 패턴은 적색(R) 픽셀과 녹색(G) 픽셀이 교대로 나타나는 제1 라인과 녹색(G) 픽셀과 청색(B) 픽셀이 교대로 나타나는 제2 라인을 포함하는 것을 특징으로 하는 캡슐형 내시경의 영상 압축 방법.
10. The method of claim 9,
Wherein the Bayer pattern comprises a first line in which red (R) pixels and green (G) pixels alternate and a second line in which green (G) and blue (B) Image compression method of an endoscope.
삭제delete 제9항에 있어서,
상기 기준값은 상기 단위 블록에 포함된 픽셀들 중 중간값(median)에 해당하는 픽셀이거나, 상기 단위 블록에 포함된 픽셀들의 평균값(average)인 것을 특징으로 하는 캡슐형 내시경의 영상 압축 방법.
10. The method of claim 9,
Wherein the reference value is a pixel corresponding to a median of pixels included in the unit block or an average value of pixels included in the unit block.
삭제delete 제9항에 있어서,
상기 단위 블록은 상기 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하여 N * N 또는 N * 1 크기의 픽셀로 구성되거나, 상기 베이어 패턴에 포함된 픽셀들 사이의 상관도를 고려하지 않고 N * N 또는 N * 1 크기의 픽셀로 구성되거나, 또는 상기 베이어 패턴에 포함된 적색(R) 픽셀, 녹색(G) 픽셀 및 청색(B) 픽셀 각각으로만 구성되는 것을 특징으로 하는 캡슐형 내시경의 영상 압축 방법.
10. The method of claim 9,
The unit block may include N * N pixels or N * 1 pixels in consideration of the degree of correlation between the pixels included in the Bayer pattern. Alternatively, the unit block may include N (R) pixel, a green (G) pixel, and a blue (B) pixel included in the Bayer pattern. Image compression method.
제9항에 있어서,
상기 압축된 영상을 외부 장치로 전송하는 단계를 더 포함하는 것을 특징으로 하는 캡슐형 내시경의 영상 압축 방법.
10. The method of claim 9,
And transmitting the compressed image to an external device.
제9항에 있어서,
상기 압축된 영상을 메모리에 저장하는 단계를 더 포함하는 것을 특징으로 하는 캡슐형 내시경의 영상 압축 방법.
10. The method of claim 9,
And storing the compressed image in a memory. ≪ Desc / Clms Page number 19 >
캡슐형 내시경으로부터 전송된 데이터를 수신하는 수신장치에 있어서,
상기 캡슐형 내시경으로부터 전송되는 데이터를 수신하는 수신부; 및
상기 데이터를 출력 영상으로 변환하는 변환부;를 포함하며,
상기 데이터는 베이어 패턴의 데이터를 기반으로 압축된 압축 데이터이며,
상기 압축 데이터는 기준값과 단위 블록에 포함된 픽셀 각각 간의 차이값을 기초로 생성된 고정 길이 데이터이며,
상기 단위 블록은 상기 베이어 패턴의 데이터를 복호화하는 기본 단위 블록이며,
상기 차이값은 상기 기준값과 상기 단위 블록에 포함된 픽셀 각각 간의 실제 차이값으로부터 검출된 최대값과 최소값을 기초로 동적으로 생성된 룩업 테이블(Look-Up Table; LUT)을 이용하여 결정되며,
상기 변환부는 상기 압축 데이터를 복호화하여 상기 출력 영상으로 변환하는 것을 특징으로 하는 수신장치.
A receiving apparatus for receiving data transmitted from a capsule endoscope,
A receiving unit for receiving data transmitted from the capsule endoscope; And
And a conversion unit converting the data into an output image,
The data is compressed data compressed based on Bayer pattern data,
The compressed data is fixed length data generated based on a reference value and a difference value between each pixel included in the unit block,
The unit block is a basic unit block for decoding the data of the Bayer pattern,
The difference value is determined using a look-up table (LUT) dynamically generated based on the maximum value and the minimum value detected from the actual difference between the reference value and each of the pixels included in the unit block,
Wherein the converting unit decodes the compressed data and converts the compressed data into the output image.
KR1020120135471A 2012-11-27 2012-11-27 Capsule-type endoscope and method of compressing images thereof KR101416223B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120135471A KR101416223B1 (en) 2012-11-27 2012-11-27 Capsule-type endoscope and method of compressing images thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120135471A KR101416223B1 (en) 2012-11-27 2012-11-27 Capsule-type endoscope and method of compressing images thereof

Publications (2)

Publication Number Publication Date
KR20140067781A KR20140067781A (en) 2014-06-05
KR101416223B1 true KR101416223B1 (en) 2014-08-06

Family

ID=51123942

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120135471A KR101416223B1 (en) 2012-11-27 2012-11-27 Capsule-type endoscope and method of compressing images thereof

Country Status (1)

Country Link
KR (1) KR101416223B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102379182B1 (en) 2015-11-20 2022-03-24 삼성전자주식회사 Apparatus and method for continuous data compression
KR101878891B1 (en) * 2016-08-31 2018-07-16 주식회사 인트로메딕 Image processing method of capsule endoscope, capsule endoscope apparatus, receiver interworking with capsule endoscope, image processing method of the receiver, and capsule endoscope system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174631A (en) * 2005-11-28 2007-07-05 Pentax Corp Method and device for compressing image signal, wear with communication function, and endoscope system
KR20080049035A (en) * 2005-10-05 2008-06-03 엘지전자 주식회사 Method and apparatus for signal processing and encoding and decoding method, and apparatus therefor
JP2009078069A (en) 2007-09-27 2009-04-16 Hoya Corp Endoscopic system and photographing system
KR20120133317A (en) * 2011-05-31 2012-12-10 주식회사 인트로메딕 Medical imgae copression method and apparatus thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080049035A (en) * 2005-10-05 2008-06-03 엘지전자 주식회사 Method and apparatus for signal processing and encoding and decoding method, and apparatus therefor
JP2007174631A (en) * 2005-11-28 2007-07-05 Pentax Corp Method and device for compressing image signal, wear with communication function, and endoscope system
JP2009078069A (en) 2007-09-27 2009-04-16 Hoya Corp Endoscopic system and photographing system
KR20120133317A (en) * 2011-05-31 2012-12-10 주식회사 인트로메딕 Medical imgae copression method and apparatus thereof

Also Published As

Publication number Publication date
KR20140067781A (en) 2014-06-05

Similar Documents

Publication Publication Date Title
Khan et al. Low power and low complexity compressor for video capsule endoscopy
CN100518306C (en) Diagnostic device using data compression
US9113846B2 (en) In-vivo imaging device providing data compression
US20030028078A1 (en) In vivo imaging device, system and method
EP1769720A1 (en) Device introduced in subject and in-subject introduction system
AU2002321797A1 (en) Diagnostic device using data compression
JPWO2004096028A1 (en) Capsule endoscope and capsule endoscope system
EP2356935A1 (en) Image-processing system, and imaging device, reception device, and image display device thereof
WO2006030839A1 (en) Capsule-type endoscope
JP2009136431A (en) Device to be introduced into subject and system to obtain bio-information from subject
Khan et al. White and narrow band image compressor based on a new color space for capsule endoscopy
US10694100B2 (en) Image processing apparatus, image processing method, and computer readable recording medium
US10574934B2 (en) Ultrasound observation device, operation method of image signal processing apparatus, image signal processing method, and computer-readable recording medium
KR100851607B1 (en) Capsule-type endoscope having sensor and communication method thereof
KR101416223B1 (en) Capsule-type endoscope and method of compressing images thereof
JP4445799B2 (en) Intra-subject introduction device and medical device
US9088716B2 (en) Methods and apparatus for image processing in wireless capsule endoscopy
US10863149B2 (en) Image processing apparatus, image processing method, and computer readable recording medium
KR101276162B1 (en) Capsule-Type Endoscope, Imaging Method For Capsule-Type Endoscope And Apparatus For Processing Image Transmitted From Capsule-Type Endoscope
JP5160621B2 (en) Capsule endoscope system
US10188266B2 (en) Endoscopic imaging device for reducing data amount of image signal
US11259691B2 (en) Body-insertable apparatus, transmission method, and non-transitory computer readable medium
Khan et al. Implantable narrow band image compressor for capsule endoscopy
KR100878719B1 (en) Method and system for data communication in human body and capsule-type endoscope used therein
KR101878891B1 (en) Image processing method of capsule endoscope, capsule endoscope apparatus, receiver interworking with capsule endoscope, image processing method of the receiver, and capsule endoscope system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170704

Year of fee payment: 4