KR20190058936A - Method and system for retinex processing of endoscopic image, and a recording medium having computer readable program for executing the method - Google Patents

Method and system for retinex processing of endoscopic image, and a recording medium having computer readable program for executing the method Download PDF

Info

Publication number
KR20190058936A
KR20190058936A KR1020170156376A KR20170156376A KR20190058936A KR 20190058936 A KR20190058936 A KR 20190058936A KR 1020170156376 A KR1020170156376 A KR 1020170156376A KR 20170156376 A KR20170156376 A KR 20170156376A KR 20190058936 A KR20190058936 A KR 20190058936A
Authority
KR
South Korea
Prior art keywords
image
retinex
unit
image processing
illumination
Prior art date
Application number
KR1020170156376A
Other languages
Korean (ko)
Other versions
KR102272979B1 (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 KR1020170156376A priority Critical patent/KR102272979B1/en
Priority to PCT/KR2017/013696 priority patent/WO2019103215A1/en
Publication of KR20190058936A publication Critical patent/KR20190058936A/en
Application granted granted Critical
Publication of KR102272979B1 publication Critical patent/KR102272979B1/en

Links

Images

Classifications

    • 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/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • A61B1/000094Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope extracting biological structures
    • 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/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • 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
    • 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/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • A61B1/000095Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope for image enhancement
    • 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/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • A61B1/000096Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope using artificial intelligence
    • 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/00002Operational features of endoscopes
    • A61B1/00039Operational features of endoscopes provided with input arrangements for the user
    • 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/00163Optical arrangements
    • 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/04Instruments 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 combined with photographic or television appliances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Abstract

The endoscopic image processing system comprises a light source unit, an image sensing unit, an image reconstruction unit, a retinex image processing unit, and a retinex image processing control unit, wherein the retinex image processing unit comprises an image separation unit, an illumination processing unit, and an image synthesis unit. The light source unit illuminates an object with light, the image sensing unit acquires sensor image data of the object, the image reconstruction unit reconstructs an image of the object from the acquired image, the retinex image processing unit applies retinex image processing to the output image from the image reconstruction unit, and the retinex image processing control unit calculates a control parameter for controlling the retinex image processing unit. Here, the image separation unit separates an input image, and, for each pixel of the input image, calculates a reflectance map for a reflectance component and an illumination map for an illumination component, the illumination processing unit modifies illumination brightness on the illumination map, and the image synthesis unit produces a synthesized image of the processed reflectance map and the illumination map. Thus, a clear image can be provided.

Description

레티넥스 내시경 영상 처리 시스템, 방법, 및 상기 방법을 실행시키기 위한 컴퓨터 판독 가능한 프로그램을 기록한 기록 매체 {METHOD AND SYSTEM FOR RETINEX PROCESSING OF ENDOSCOPIC IMAGE, AND A RECORDING MEDIUM HAVING COMPUTER READABLE PROGRAM FOR EXECUTING THE METHOD}TECHNICAL FIELD [0001] The present invention relates to a retinex endoscopic image processing system, a retinex endoscope image processing system, a retinex endoscope image processing system, a retinex endoscope image processing system, a retinex endoscope image processing system, a retinex endoscope image processing system,

본 발명은 영상 처리 시스템, 및 방법에 관한 것으로서, 더욱 상세하게는 내시경 영상을 처리하기 위한 시스템, 및 방법에 관한 것이다.The present invention relates to an image processing system and method, and more particularly, to a system and method for processing an endoscopic image.

일반적인 내시경 이미징 시스템은 장기 내부를 관찰할 수 있도록 조명을 제공하는 광원 유닛과 이미지 센서 유닛, 이미지 raw 데이터를 관찰할 수 있는 영상으로 변형해 주는 ISP(image signal processing) 프로세서 유닛을 포함하며, 이를 표준화된 비디오 포맷으로 변경하여 디스플레이 및 저장장치에 전송한다. The general endoscopic imaging system includes a light source unit and an image sensor unit for providing illumination for observing the inside of the organ, and an image signal processing (ISP) processor unit for transforming the image raw data into an image to be observed. Converted video format to the display and storage device.

ISP는 주로 RGB 픽셀 배열로부터 RGB 채널 이미지를 복원하는 Debayering, white balance, color correction, gamma correction 등의 기능을 포함한다. 도 1은 종래 내시경 이미징 시스템의 개략적인 블록도이다. The ISP mainly includes functions such as debayering, white balance, color correction, gamma correction, etc., which restore RGB channel images from RGB pixel arrays. 1 is a schematic block diagram of a conventional endoscopic imaging system.

한편, 내시경 영상에서 어두운 부분이 없는 선명한 화질의 영상은 매우 중요하다. 특히, 수술용 내시경의 경우 이러한 중요성이 더욱 증가하는 데, 출혈 부분이나 수술 도구의 가시성이 떨어지는 경우 바로 의료사고로 이어질 수 있기 때문이다.On the other hand, in the endoscopic image, a sharp image having no dark portion is very important. Particularly, the importance of surgical endoscopes is further increased, because if the bleeding part or the visibility of surgical instruments is poor, it can lead to medical accidents.

그런데, 도 1에서와 같은 종래의 기술에서는 광원의 세기를 증가시키면 밝은 영역에서 포화(saturation) 현상이 발생하고, 광원의 세기를 감소시키면 광원으로부터 일정 거리 이상의 주변 영역들이 어두워져 관찰이 어렵게 되기 때문에 어두운 부분 없는 선명한 화질의 내시경 영상을 얻는 것이 매우 어려웠다. However, in the conventional art as shown in FIG. 1, when the intensity of the light source is increased, a saturation phenomenon occurs in the bright region, and when the intensity of the light source is decreased, the peripheral regions over a certain distance from the light source are darkened, It has been very difficult to obtain an endoscopic image having a sharp image quality without a dark part.

USUS 89797418979741 B2B2

본 발명은 상술한 종래의 문제점을 해결하기 위해 안출된 것으로서, 부위별 조사되는 조명의 광량의 차이를 개선하여 어두운 부분이 없고 선명한 화질의 영상을 제공할 수 있는 내시경 영상 처리 시스템 및 방법을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made in order to solve the conventional problems described above, and it is an object of the present invention to provide an endoscopic image processing system and method capable of improving a difference in light quantity of illumination illuminated by each site, .

상기 목적을 달성하기 위해, 본 발명에 따른 내시경 영상 처리 시스템은, 광원부, 이미지 센싱부, 영상 재구성부, 레티넥스 영상 처리부, 및 레티넥스 영상 처리 제어부를 포함하고, 레티네스 영상 처리부는 다시 영상 분리부, 조명 처리부, 및 영상 합성부를 포함한다.In order to achieve the above object, an endoscope image processing system according to the present invention includes a light source unit, an image sensing unit, an image reconstruction unit, a Retinex image processing unit, and a Retinex image processing control unit, An illumination processing unit, and an image synthesizing unit.

광원부는 피사체에 광을 조사하고, 이미지 센싱부는 피사체의 센서 영상 데이터를 획득하고, 영상 재구성부는 획득된 센서 영상 데이터로부터 피사체의 영상을 재구성하고, 레티넥스 영상 처리부는 영상 재구성부의 출력 영상을 레티넥스 영상처리하며, 레티넥스 영상 처리 제어부는 레티넥스 영상 처리부를 제어하기 위한 제어 파라미터를 산출한다. The retinex image processor reconstructs the image of the subject from the acquired sensor image data, and the retinex image processor converts the output image of the image reconstruction unit into retinex image data, And the Retinex image processing control unit calculates control parameters for controlling the Retinex image processing unit.

이때, 영상 분리부는 입력 영상 신호를 분리(decomposition)하기 위해 입력 영상의 각 픽셀에 대응하여 피사체의 반사성분에 대한 반사맵(Reflectance Map)과 입사되는 조명성분에 대한 조명맵(Illumination Map)을 각각 산출하고, 조명 처리부는 조명맵에서의 조명 밝기를 변형하며, 영상 합성부는 처리된 반사맵과 변형된 조명맵의 합성 영상을 산출한다.At this time, in order to decompose the input image signal, the image separating unit divides the reflection map of the reflection component of the subject and the illumination map of the incident illumination component into correspondence to each pixel of the input image, And the illumination processing section modifies the illumination brightness in the illumination map, and the image synthesis section calculates the composite image of the processed reflection map and the modified illumination map.

이와 같은 구성에 의하면, 입력 영상을 반사성분과 조명성분으로 나누어 불균일한 조명성분을 보정하여 합성함으로써, 부위별 조사되는 조명의 광량의 차이를 개선하여 어두운 부분이 없고, 선명한 화질의 영상을 제공할 수 있게 된다.According to such a configuration, the input image is divided into the reflection component and the illumination component, and the non-uniform illumination component is corrected and synthesized, thereby improving the difference in the amount of light irradiated for each site, .

이때, 레티넥스 영상 처리 제어부는 영상 분리부가 조명맵의 생성을 위해 적용하는 가우시안 필터의 가우시안 커널 사이즈를 산출함으로써, 입력 영상 중 밝은 영역의 정보 손실 정도를 제어할 수 있다.At this time, the Retinex image processing control unit can control the degree of information loss in the bright region of the input image by calculating the Gaussian kernel size of the Gaussian filter applied by the image separator for generating the illumination map.

또한, 레티넥스 영상 처리 제어부는 조명 처리부가 조명 밝기의 변형을 수행하기 위해 적용하는 감마보정 처리를 위한 감마값의 결정에 필요한 알파값을 산출함으로써, 입력 영상 중 어두운 영역의 밝기 증폭 정도를 제어할 수 있다.Also, the Retinex image processing control unit can control the brightness amplification degree of the dark region of the input image by calculating the alpha value necessary for determining the gamma value for the gamma correction process applied by the illumination processing unit to perform the deformation of the illumination brightness have.

또한, 레티넥스 영상 처리 제어부는 영상 분리부가 반사맵의 생성을 위해 적용하는 입실론값을 산출함으로써, 합성 영상의 노이즈를 제어할 수 있다.In addition, the Retinex image processing control unit can control the noise of the composite image by calculating the Epsilon value applied by the image separating unit to generate the reflection map.

또한, 레티넥스 영상 처리 제어부는 입력 영상의 각 픽셀에 대응하는 적색, 녹색, 청색 중 최소값으로 이루어진 영상에 대한 가우시안 필터 출력을 조명 처리부로 전달하는 다크 이미지 처리부를 포함할 수 있다.Also, the Retinex image processing control unit may include a dark image processing unit for transmitting a Gaussian filter output for an image having the minimum value among red, green, and blue corresponding to each pixel of the input image to the illumination processing unit.

또한, 레티넥스 영상 처리 제어부는 사용자 입력에 따라 수동으로 선택되어진 제어 파라미터를 산출할 수 있으며, 이미 설정된 복수의 입력 영상으로부터 학습된 정보를 이용하여 자동으로 제어 파라미터를 산출할 수도 있다.Also, the Retinex image processing control unit may calculate the manually selected control parameter according to the user input, and may automatically calculate the control parameter using the learned information from the plurality of input images already set.

또한, 광원부는 복수 스펙트럼의 광을 조사할 수 있으며, 광원의 파장을 변환할 수 있다.Further, the light source section can irradiate light of a plurality of spectra, and can convert the wavelength of the light source.

이때, 레티넥스 영상 처리부는 복수의 스펙트럼의 광 각각에 대해 레티넥스 영상 처리를 수행할 수 있다.At this time, the Retinex image processing unit may perform Retinex image processing for each of a plurality of spectral lights.

또한, 복수의 스펙트럼 광 각각에 대해 레티넥스 영상 처리된 영상을 합성하는 영상 결합부를 더 포함할 수 있다.The apparatus may further include an image combining unit for combining the retinex image-processed images with respect to each of the plurality of spectral lights.

또한, 복수 스펙트럼의 광 각각에 대한 복수의 영상 재구성부의 출력 영상을 합성하여 레티넥스 영상 처리부로 입력하는 영상 결합부를 더 포함할 수 있다.The apparatus may further include an image combining unit configured to synthesize output images of a plurality of image reconstructing units for each of a plurality of spectrums of light and to input the resultant image to a Retinex image processing unit.

아울러, 상기 시스템을 방법의 형태로 구현한 발명과 상기 방법을 실행시키기 위한 컴퓨터 판독 가능한 프로그램을 기록한 기록 매체가 함께 개시된다.In addition, an invention in which the system is implemented in the form of a method and a recording medium recording a computer-readable program for executing the method are disclosed.

본 발명에 의하면, 입력 영상을 반사성분과 조명성분으로 나누어 불균일한 조명성분을 보정하여 합성함으로써, 부위별 조사되는 조명의 광량의 차이를 개선하여 어두운 부분이 없고, 선명한 화질의 영상을 제공할 수 있게 된다.According to the present invention, the input image is divided into the reflection component and the illumination component, and the non-uniform illumination component is corrected and synthesized, thereby improving the difference in the amount of light irradiated for each site, .

또한, 레티넥스 영상 처리의 다양한 파라미터를 제어하여 더욱 효과적으로 출력 영상을 개선할 수 있게 된다.In addition, it is possible to improve the output image more effectively by controlling various parameters of the Retinex image processing.

도 1은 종래 내시경 이미징 시스템의 개략적인 블록도.
도 2는 본 발명의 일 실시예에 따른 내시경 영상 처리 시스템의 개략적인 블록도.
도 3은 본 발명의 다른 실시예에 따른 내시경 영상 처리 시스템의 개략적인 블록도.
도 4 내지 도 6은 복수의 광원에 대한 이미지 처리시에 Retinex 유닛의 구성 예가 도시된 도면.
도 7은 레티넥스 영상 처리부의 구성의 일 예를 개략적으로 도시한 블록도.
도 8은 밝은 영역의 정보 손실 정도를 조정할 수 있도록 제어 파라미터를 조정하는 방법의 예가 도시된 도면.
도 9는 어두운 영역의 밝기 증폭 정도를 조정할 수 있는 제어 파라미터를 조정하는 방법의 예가 도시된 도면.
도 10은 노이즈의 양을 조정할 수 있는 제어 파라미터를 조정하는 방법의 예가 도시된 도면.
도 11은 안개 효과를 제거하는 정도를 조정할 수 있는 제어 파라미터를 조정하는 방법의 예가 도시된 도면.
도 12 및 도 13은 각각 종래 내시경의 영상과 본 발명에 따른 내시경의 영상.
1 is a schematic block diagram of a conventional endoscopic imaging system;
2 is a schematic block diagram of an endoscopic image processing system according to an embodiment of the present invention;
3 is a schematic block diagram of an endoscopic image processing system according to another embodiment of the present invention.
Figs. 4 to 6 show an example of the configuration of a retinex unit in image processing for a plurality of light sources. Fig.
7 is a block diagram schematically showing an example of the configuration of a Retinex image processing unit.
8 is a diagram showing an example of a method of adjusting control parameters so as to adjust the degree of information loss in a bright region.
9 is a diagram showing an example of a method of adjusting a control parameter capable of adjusting the degree of brightness amplification in a dark region.
10 is a diagram showing an example of a method of adjusting a control parameter capable of adjusting the amount of noise.
Fig. 11 shows an example of a method of adjusting a control parameter capable of adjusting the degree of elimination of a fog effect; Fig.
12 and 13 are views of a conventional endoscopic image and an endoscopic image according to the present invention, respectively.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 설명한다.Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

도 2는 본 발명의 일 실시예에 따른 내시경 영상 처리 시스템의 개략적인 블록도이다. 본 발명에 따른 내시경 영상 처리 시스템(100)은, 광원부(110), 이미지 센싱부(120), 영상 재구성부(130), 레티넥스 영상 처리부(140), 및 레티넥스 영상 처리 제어부(150)를 포함하고, 레티네스 영상 처리부(140)는 다시 영상 분리부(142), 조명 처리부(144), 영상 합성부(146), 및 반사 처리부(148)를 포함한다.2 is a schematic block diagram of an endoscopic image processing system according to an embodiment of the present invention. The endoscope image processing system 100 according to the present invention includes a light source unit 110, an image sensing unit 120, an image reconstruction unit 130, a Retinex image processing unit 140, and a Retinex image processing control unit 150 And the retine image processing unit 140 further includes an image separating unit 142, an illumination processing unit 144, an image synthesizing unit 146, and a reflection processing unit 148.

이때, 내시경 영상 처리 시스템(100)의 모든 구성 요소들은 하드웨어만으로도 구현할 수 있으나, 하드웨어 및 하드웨어상에서 동작하는 소프트웨어로 함께 구현하는 것이 일반적일 것이다.At this time, all components of the endoscopic image processing system 100 can be implemented by hardware alone, but they are generally implemented together with hardware and hardware that operates on hardware.

도 2에서, 광원부(110), 이미지 센싱부(120), 영상 재구성부(130), 레티넥스 영상 처리부(140), 및 레티넥스 영상 처리 제어부(150)는 각각 광원 유닛, 이미지 센서 유닛, ISP 프로세서 유닛, Retinex 프로세서 유닛, Retinex 화질 제어부로 구현되어 있다. 2, the light source unit 110, the image sensing unit 120, the image reconstruction unit 130, the Retinex image processing unit 140, and the Retinex image processing control unit 150 are respectively provided with a light source unit, Processor unit, a Retinex processor unit, and a Retinex image quality control unit.

도 1과 비교할 때, Retinex 프로세서 유닛(140)이 ISP 프로세서 유닛(비디오 프로세서 유닛; 130))의 출력단과 디스플레이 장치 사이에 삽입되고, Retinex 화질 제어부(150)가 Retinex 프로세서 유닛(140)과 다시 연결되어 있는 것을 확인할 수 있다. 도 2에서, Retinex 화질 제어부(150)는 Retinex 프로세서 유닛(140)과 별도로 형성되어 서로 연결되도록 구현되어 있지만, Retinex 프로세서 유닛(140)에 포함되어 일체로 형성되도록 구현될 수도 있다. 1, when the Retinex processor unit 140 is inserted between the output terminal of the ISP processor unit (video processor unit) 130 and the display device, and the Retinex image quality control unit 150 is connected again to the Retinex processor unit 140 . 2, the Retinex image quality controller 150 is separately formed from the Retinex processor unit 140 and is configured to be connected to each other. However, the Retinex image quality controller 150 may be included in the Retinex processor unit 140 so as to be integrally formed.

도 2에서, ISP 프로세서 유닛(130)과 Retinex 프로세서 유닛(140)의 인터페이스는 Standard Video Interface로 구성되어 있다. 이때, ISP 프로세서 유닛(130)과 Retinex 프로세서 유닛(140)은 모두 GPU 기반 병렬처리 또는 FPGA 하드웨어의 형태로 각각 구현될 수 있으며, 이에 따라 서로 다른 네 가지의 하드웨어 조합이 가능하다.In FIG. 2, the interface between the ISP processor unit 130 and the Retinex processor unit 140 is configured as a standard video interface. At this time, both the ISP processor unit 130 and the Retinex processor unit 140 may be implemented in the form of GPU-based parallel processing or FPGA hardware, respectively, so that four different hardware combinations are possible.

도 3은 본 발명의 다른 실시예에 따른 내시경 영상 처리 시스템의 개략적인 블록도이다. 도 3에서 영상 재구성부(130), 레티넥스 영상 처리부(140), 및 레티넥스 영상 처리 제어부(150)는 각각 ISP 프로세서 모듈(130), Retinex 프로세서 모듈(140), Retinex 화질 제어 모듈(150)로서, 비디오 프로세싱 유닛에 포함되는 모듈들로 구현되어 있다. 이때, 비디오 프로세싱 유닛은 FPGA 또는 PC 기반 GPU 중 하나로 구현될 수 있다.3 is a schematic block diagram of an endoscopic image processing system according to another embodiment of the present invention. 3, the image reconstructing unit 130, the Retinex image processing unit 140, and the Retinex image processing control unit 150 respectively include an ISP processor module 130, a Retinex processor module 140, a Retinex image quality control module 150, Which is implemented as modules included in the video processing unit. At this time, the video processing unit may be implemented as one of an FPGA or a PC-based GPU.

광원부(110)는 피사체에 광을 조사한다. 광원부(110)는 복수 스펙트럼의 광을 조사할 수 있다. 이때, 복수 스펙트럼의 광은 예를 들어 400nm 내지 700nm 파장의 광대역 가시광, 800nm 이상의 적외선, 410nm, 415nm, 540nm와 같은 협대역 광일 수 있다.The light source unit 110 irradiates the subject with light. The light source unit 110 can irradiate light of a plurality of spectra. At this time, the light of a plurality of spectra may be, for example, wide band visible light having a wavelength of 400 nm to 700 nm, infrared light having a wavelength of 800 nm or more, or narrow band light such as 410 nm, 415 nm and 540 nm.

복수 스펙트럼의 광은 복수의 광원으로부터 각각 조사될 수도 있지만, 단일 파장의 광원의 파장을 변환하여 조사될 수도 있다. 이를 위해 퀀텀닷 광원 변조를 수행할 수도 있다.The light of the plural spectra may be irradiated from each of the plurality of light sources, but may be irradiated by changing the wavelength of the light source of a single wavelength. To do this, you can also perform quantum dot light source modulation.

도 4 내지 도 6은 복수의 광원에 대한 이미지 처리시에 Retinex 유닛의 구성 예가 도시된 도면이다. 도 4 및 도 5에서 복수 광원에 대해 각각 서로 다른 Retinex 유닛(140)이 연결되어 있는 것을 확인할 수 있다. 이와 같이, 레티넥스 영상 처리부(140)는 복수 스펙트럼의 광 각각에 대응하는 복수의 레티넥스 영상 처리를 수행할 수 있다.Figs. 4 to 6 are diagrams showing examples of configurations of a retinex unit in image processing for a plurality of light sources. Fig. In FIGS. 4 and 5, it can be seen that different retinex units 140 are connected to the plurality of light sources. In this manner, the Retinex image processing unit 140 can perform a plurality of retinex image processing corresponding to each of a plurality of spectral lights.

이 경우, 복수의 영상은 도 4에서와 같이 서로 다른 디스플레이 장치를 통해 출력될 수도 있고, 하나의 디스플레이 장치의 서로 다른 영역에 각각 출력(PNP)될 수도 있다.In this case, the plurality of images may be outputted through different display devices as shown in FIG. 4, or may be output to different areas of one display device (PNP), respectively.

또한, 복수의 영상은 합성되어 하나의 디스플레이 장치로 출력될 수도 있는데, 이를 위해, 영상 처리 시스템(100)은 도 5에서와 같이, 복수의 스펙트럼 광 각각에 대해 레티넥스 영상 처리된 영상을 합성하는 영상 결합부(160)를 더 포함할 수 있다. In addition, a plurality of images may be synthesized and output to a single display device. To do so, the image processing system 100 synthesizes an image subjected to Retinex image processing for each of a plurality of spectral lights as shown in FIG. 5 And an image combining unit 160 may be further included.

이때, 영상 결합부(160)는 이미 영상 처리된 영상이 아니라 도 6에서와 같이, 복수 스펙트럼의 광 각각에 대한 복수의 영상 재구성부(130)의 출력 영상을 합성하여 레티넥스 영상 처리부(140)로 입력하도록 구현될 수도 있다.6, the image combining unit 160 synthesizes output images of a plurality of image reconstructing units 130 with respect to a plurality of lights of a plurality of spectra, and outputs them to the Retinex image processing unit 140, As shown in FIG.

이미지 센싱부(카메라; 120)는 피사체의 영상을 획득하고, 영상 재구성부(130)는 획득된 영상으로부터 피사체의 영상을 재구성하며, 레티넥스 영상 처리부(140)는 영상 재구성부(130)의 출력 영상을 레티넥스 영상처리한다.The Retinex image processing unit 140 receives the image of the subject from the image reconstructing unit 130. The image sensing unit 120 acquires the image of the subject, the image reconstructing unit 130 reconstructs the image of the object from the acquired image, The image is processed by Retinex image.

이를 위해, 영상 분리부(142)는 입력 영상을 분리하여 입력 영상의 각 픽셀에 대응하여 반사성분에 대한 반사맵(Reflectance Map)과 조명 성분에 대한 조명맵(Illumination Map)을 각각 산출하고, 조명 처리부(144)는 조명맵에서의 조명 밝기를 변형하며, 영상 합성부(146)는 처리된 반사맵과 조명맵의 합성 영상을 산출한다. To this end, the image separating unit 142 separates the input image and calculates a reflection map for the reflection component and an illumination map for the illumination component corresponding to each pixel of the input image, The processing unit 144 modifies the illumination brightness in the illumination map, and the image synthesizing unit 146 calculates a composite image of the processed reflection map and the illumination map.

도 7은 레티넥스 영상 처리부의 구성의 일 예를 개략적으로 도시한 블록도이다. 도 7에서 Retinex 영상처리 시스템(140)은 영상분리부(142), Illumination 처리부(144), Reflectance 처리부(148), 및 영상합성부(146)를 포함한다. 7 is a block diagram schematically showing an example of the configuration of the Retinex image processing unit. 7, the Retinex image processing system 140 includes an image separation unit 142, an illumination processing unit 144, a reflectance processing unit 148, and an image synthesis unit 146.

영상분리부(142)는 입력영상을 분리(decomposition)하여 각 픽셀에 대한 반사성분인 Reflectance 와 조명성분인 Illumination 값을 계산하여 Reflectance Map과 Illumination Map을 메모리에 저장한다.The image separating unit 142 decomposes the input image, calculates reflectance, which is a reflection component for each pixel, and illumination value, which is an illumination component, and stores a reflection map and an illumination map in a memory.

이를 위해, Illumination 처리부(142)는 조명성분의 밝기를 조정하기 위해 감마보정커브를 사용한다. 이때, 감마보정커브는 영상의 통계적 특성(밝기의 평균값, 분산/표준편차, 히스토그램 등)에 따라 가변될 수 있다. To this end, the illumination processing unit 142 uses a gamma correction curve to adjust the brightness of the illumination component. At this time, the gamma correction curve can be varied according to the statistical characteristics (average value of brightness, variance / standard deviation, histogram, etc.) of the image.

Illumination Map은 조명 밝기와 연관된 Map으로서, Illumination 처리부(144)는 분리된 Illumination Map을 Uniform Illumination Map에 가깝도록 처리한다. 이를 위해 Illumination map에 감마보정을 시행하거나 유사한 보정커브를 이용하여 조명 밝기를 변형한다.The Illumination Map is a Map associated with the illumination brightness, and the Illumination processing unit 144 processes the separated Illumination Map close to the Uniform Illumination Map. To do this, gamma correction is applied to the illumination map or a similar correction curve is used to vary the brightness of the illumination.

Reflectance 처리부(148)는 Illumination Map과 달리 Reflectance Map에 아무 처리를 하지 않거나 컬러를 보정하는 처리를 수행하고, 영상합성부(146)는 처리된 Reflectance Map과 Illumination Map을 곱하여 합성된 영상을 계산한다.Unlike the Illumination Map, the reflectance processing unit 148 performs a process of not performing any processing on the Reflectance Map or correcting the color, and the image combining unit 146 multiplies the processed Reflectance Map and Illumination Map to calculate the synthesized image.

레티넥스 영상 처리 제어부(150)는 레티넥스 영상 처리부(140)를 제어하기 위한 제어 파라미터를 산출한다. 이때, 레티넥스 영상 처리 제어부(150)는 영상 분리부(142)가 조명맵의 생성을 위해 적용하는 가우시안 필터의 가우시안 커널 사이즈를 산출함으로써, 입력 영상 중 밝은 영역의 정보 손실 정보를 제어할 수 있다.The Retinex image processing control unit 150 calculates a control parameter for controlling the Retinex image processing unit 140. [ At this time, the Retinax image processing control unit 150 can control the information loss information of the bright region of the input image by calculating the Gaussian kernel size of the Gaussian filter applied by the image separation unit 142 to generate the illumination map .

도 8은 밝은 영역의 정보 손실 정도를 조정할 수 있도록 제어 파라미터를 조정하는 방법의 예가 도시된 도면이다. 도 8에서, Gaussian Kernel Size를 크게 하면 밝은 영역의 손실이 감소되고, Gaussian Kernel Size를 작게 하면 밝은 영역의 손실이 증가한다.8 is a diagram showing an example of a method of adjusting control parameters so as to adjust the degree of information loss in a bright region. In FIG. 8, when the Gaussian kernel size is increased, the loss of the bright area is reduced. When the Gaussian kernel size is decreased, the loss of the bright area is increased.

또한, 레티넥스 영상 처리 제어부(150)는 조명 처리부(144)가 조명 밝기의 변형을 수행하기 위해 적용하는 감마값 결정에 필요한 알파값을 산출함으로써, 입력 영상 중 어두운 영역의 밝기 증폭 정도를 제어할 수 있다. In addition, the Retinex image processing control unit 150 can control the brightness amplification degree of the dark region of the input image by calculating the alpha value necessary for determining the gamma value applied by the illumination processing unit 144 to perform the deformation of the illumination brightness have.

도 9는 어두운 영역의 밝기 증폭 정도를 조정할 수 있는 제어 파라미터를 조정하는 방법의 예가 도시된 도면이다. 도 9에서, 감마결정은 (L(x,y)+Alpha)/(1+Alpha)의 수식에 의해 수행될 수 있으며, Alpha를 작게 조정하면 밝기 증폭 정도가 증가되고, Alpha를 크게 조정하면 밝기 증폭 정도가 감소된다.9 is a diagram showing an example of a method of adjusting a control parameter capable of adjusting the degree of brightness amplification in a dark region. In FIG. 9, the gamma determination can be performed by the equation (L (x, y) + Alpha) / (1 + Alpha). When Alpha is adjusted to a small value, the degree of brightness amplification is increased. The degree of amplification is reduced.

또한, 레티넥스 영상 처리 제어부(150)는 영상 분리부(142)가 반사맵의 생성을 위해 적용하는 입실론값을 산출함으로써, 합성 영상의 노이즈를 제어할 수 있다.Also, the Retinex image processing control unit 150 can control the noise of the composite image by calculating the Epsilon value applied by the image separation unit 142 to generate the reflection map.

도 10은 노이즈의 양을 조정할 수 있는 제어 파라미터를 조정하는 방법의 예가 도시된 도면이다. 도 10에서, Divider는 다음의 수식에 의해 수행될 수 있으며, 이때, Epsilon을 감소시키면 최종 Retinex 출력 영상의 노이즈가 증가하고, Epsilon 을 증가시키면 최종 Retinex 출력영상의 노이즈가 감소한다.10 is a diagram showing an example of a method of adjusting a control parameter capable of adjusting the amount of noise. In FIG. 10, the divider can be performed by the following equation, where the noise of the final Retinex output image is increased when the Epsilon is reduced, and the noise of the final Retinex output image is decreased when the Epsilon is increased.

Reflectance_R = R(x,y)/(L(x,y)+epsilon)Reflectance_R = R (x, y) / (L (x, y) + epsilon)

Reflectance_G = G(x,y)/(L(x,y)+epsilon)Reflectance_G = G (x, y) / (L (x, y) + epsilon)

Reflectance_B = B(x,y)/(L(x,y)+epsilon)Reflectance_B = B (x, y) / (L (x, y) + epsilon)

또한, 레티넥스 영상 처리 제어부(150)는 입력 영상의 적색, 녹색, 청색 중 최소값 영상의 가우시안 필터 출력을 조명 처리부(144)로 전달하는 다크 이미지 처리부(152)를 포함할 수 있다. 도 11은 안개 효과를 제거하는 정도를 조정할 수 있는 제어 파라미터를 조정하는 방법의 예가 도시된 도면이다.The retinex image processing control unit 150 may include a dark image processing unit 152 for transmitting the Gaussian filter output of the minimum value image among the red, green, and blue of the input image to the illumination processing unit 144. 11 is a diagram showing an example of a method of adjusting a control parameter capable of adjusting the degree of eliminating the fog effect.

이때, 레티넥스 영상 처리 제어부(150)는 사용자 입력에 따라 제어 파라미터를 산출할 수 있으며, 이미 설정된 복수의 입력 영상으로부터 학습된 정보를 이용하여 제어 파라미터를 산출할 수도 있다.At this time, the Retinax image processing control unit 150 may calculate the control parameter according to the user input, and may calculate the control parameter using the learned information from the plurality of input images already set.

즉, 제어 파라미터 결정방법은, SW GUI나 물리적 버튼을 통해 Manual(수동)로 결정될 수 있고, 기계학습을 통해 Frame 마다 파라미터를 자동으로 결정하는 것과 같이 완전 자동(Fully Automatic)으로 결정될 수도 있으며, 자동과 수동을 전환할 수 있는 Semi-automatic(반자동)으로 결정될 수도 있다. 이때, 제어 파라미터 조정 범위는 Continuous Value(연속값)이나 Discrete Value(Preset)으로 구현될 수 있다.That is, the control parameter determination method can be determined manually through a SW GUI or a physical button, and can be determined to be fully automatic, such as automatically determining a parameter for each frame through machine learning, And semi- automatic (semi-automatic) which can switch between manuals. At this time, the control parameter adjustment range can be implemented as a Continuous Value or a Discrete Value (Preset).

도 12 및 도 13은 각각 종래 내시경의 영상과 본 발명에 따른 내시경의 영상이다. 도 13에서 부위별 조사되는 조명의 광량의 차이를 개선하여 어두운 부분이 없고, 선명한 화질의 영상을 확인할 수 있다.12 and 13 are images of a conventional endoscope and images of an endoscope according to the present invention, respectively. In FIG. 13, it is possible to improve the difference in the light amount of the illuminated light for each site, and to see a clear image without dark portions.

정리하자면, 본 발명은 화질제어 가능한 모듈형 Retinex 내시경 영상 시스템으로서, 하나 이상의 스펙트럼의 빛을 조사하는 광원 유닛과, 내부 공동(Internal cavity)을 관찰하기 위한 하나 이상의 이미지 센서 유닛과, 이미지 센서 데이터로부터 영상을 재구성하는 하나 이상의 ISP 유닛과, 영상을 개선시키는 추가적인 Retinex 영상처리 유닛을 포함한다.In summary, the present invention is a modular Retinex endoscopic imaging system capable of image quality control, comprising: a light source unit for illuminating one or more spectra of light; at least one image sensor unit for observing an internal cavity; One or more ISP units for reconstructing the image, and an additional Retinex image processing unit for improving the image.

또한, Retinex 영상처리 유닛을 제어하기 위하여, 어두운 영역의 밝기 증폭 정도를 조정할 수 있는 제어 파라미터, 밝은 영역의 정보 손실 정도를 조정할 수 있는 제어 파라미터, Noise의 양을 조정할 수 있는 제어 파라미터, 안개효과를 제거하는 정도를 조정할 수 있는 제어 파라미터, Retinex 영상처리 적용 여부를 제어하는 제어 파라미터 중 적어도 하나 이상의 제어 파라미터를 조정할 수 있는 Retinex 영상처리 제어 유닛을 포함한다.In order to control the Retinex image processing unit, a control parameter capable of adjusting the degree of brightness amplification in the dark region, a control parameter capable of adjusting the degree of information loss in the bright region, a control parameter capable of adjusting the amount of noise, And a control parameter for controlling whether to apply Retinex image processing or not, and a Retinex image processing control unit capable of adjusting at least one of control parameters for controlling whether or not Retinex image processing is applied.

본 발명에 의하면, Retinex 영상처리는 입력 영상을 반사성분과 조명성분으로 나누어 불균일한 조명성분을 보정하여 합성함으로써 종래의 화질 문제점을 극복할 수 있게 된다. 또한, 내시경에 모듈화하여 구현할 수 있게 되고, GPU나 FPGA로 구현하여 고해상도 영상에 대해서도 실시간 성능을 구현할 수 있게 된다.According to the present invention, the retinex image processing can overcome the conventional image quality problem by dividing the input image into the reflection component and the illumination component and correcting the uneven illumination component. In addition, it can be modularized into an endoscope, and real-time performance can be realized for a high-resolution image by implementing a GPU or an FPGA.

이에 따라, 기존의 수술용 내시경에서는 부위별 조사되는 조명의 광량의 차이가 심하여 출혈 부분이나 수술 도구의 가시성이 떨어지는 경우 의료사고로 이어질 수 있지만, 제안하는 Retinex 영상기술을 내시경에 결합하는 구성을 구현한 시스템에서는 이러한 문제점을 해소하여 보다 안전한 시술이 가능하게 된다.Therefore, the conventional surgical endoscope can lead to medical accidents if the amount of light emitted by each part is greatly different and the bleeding part or the visibility of the surgical instrument is poor. However, the proposed structure is combined with the endoscope In one system, this problem is solved and more safe operation is possible.

본 발명이 비록 일부 바람직한 실시예에 의해 설명되었지만, 본 발명의 범위는 이에 의해 제한되어서는 아니 되고, 특허청구범위에 의해 뒷받침되는 상기 실시예의 변형이나 개량에도 미쳐야 할 것이다.Although the present invention has been described in terms of some preferred embodiments, the scope of the present invention should not be limited thereby but should be modified and improved in accordance with the above-described embodiments.

100: 레티넥스 내시경 영상 처리 시스템
110: 광원부
120: 이미지 센싱부
130: 영상 재구성부
140: 레티넥스 영상 처리부
142: 영상 분리부
144: 조명 처리부
146: 영상 합성부
148: 반사 처리부
150: 레티넥스 영상 처리 제어부
152: 다크 이미지 처리부
160: 영상 결합부
100: Retinex Endoscopy Image Processing System
110: light source
120: image sensing unit
130: Image reconstruction unit
140: Retinex image processing unit
142:
144:
146:
148:
150: Retinex image processing control unit
152: Dark image processing unit
160:

Claims (26)

피사체에 광을 조사하는 광원부;
상기 피사체의 영상을 획득하는 이미지 센싱부;
상기 획득된 영상으로부터 상기 피사체의 영상을 재구성하는 영상 재구성부;
상기 영상 재구성부의 출력 영상을 레티넥스 영상처리하는 레티넥스(Retinex) 영상 처리부; 및,
상기 레티넥스 영상 처리부를 제어하기 위한 제어 파라미터를 산출하는 레티넥스 영상 처리 제어부를 포함하는 레티넥스 내시경 영상 시스템으로서,
상기 레티넥스 영상 처리부는,
입력 영상을 분리하여 상기 입력 영상의 각 픽셀에 대응하여 반사성분에 대한 반사맵(Reflectance Map)과 조명 성분에 대한 조명맵(Illumination Map)을 각각 산출하는 영상 분리부;
상기 조명맵에서의 조명 밝기를 변형하는 조명 처리부; 및
상기 처리된 반사맵과 상기 조명맵의 합성 영상을 산출하는 영상 합성부를 포함하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
A light source unit for irradiating light to a subject;
An image sensing unit for acquiring an image of the subject;
An image reconstruction unit reconstructing an image of the object from the acquired image;
A Retinex image processing unit for processing a retinal image of an output image of the image reconstructing unit; And
A retinex image processing control unit for calculating a control parameter for controlling the retinex image processing unit,
Wherein the retinex image processor comprises:
An image separator for separating an input image and calculating a reflection map for a reflection component and an illumination map for an illumination component corresponding to each pixel of the input image;
An illumination processor for modifying illumination brightness in the illumination map; And
And an image combining unit for calculating a composite image of the processed reflection map and the illumination map.
청구항 1에 있어서,
상기 레티넥스 영상처리 제어부는 상기 영상 분리부가 상기 조명맵의 생성을 위해 적용하는 가우시안 필터의 가우시안 커널 사이즈를 산출함으로써,
상기 입력 영상 중 미리 설정된 기준보다 밝은 영역의 정보 손실 정보를 제어하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method according to claim 1,
Wherein the retinex image processing control unit calculates the Gaussian kernel size of the Gaussian filter applied by the image separating unit to generate the illumination map,
Wherein information loss information of an area of the input image that is brighter than a predetermined reference is controlled.
청구항 1에 있어서,
상기 레티넥스 영상처리 제어부는 상기 조명 처리부가 상기 조명 밝기의 변형을 수행하기 위해 적용되는 감마값을 결정에 필요한 알파값을 산출함으로써,
상기 입력 영상 중 미리 설정된 기준보다 어두운 영역의 밝기 증폭 정도를 제어하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method according to claim 1,
Wherein the retinex image processing control unit calculates an alpha value necessary for determining a gamma value applied to perform the deformation of the illumination brightness,
Wherein the control unit controls the brightness amplification degree of the input image in a region darker than a predetermined reference.
청구항 1에 있어서,
상기 레티넥스 영상처리 제어부는 상기 영상 분리부가 상기 반사맵의 생성을 위해 적용하는 입실론값을 산출함으로써,
상기 합성 영상의 노이즈를 제어하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method according to claim 1,
Wherein the retinex image processing control unit calculates an epsilon value applied by the image separating unit to generate the reflection map,
And controls the noise of the synthesized image.
청구항 1에 있어서,
상기 레티넥스 영상처리 제어부는 상기 입력 영상의 적색, 녹색, 청색 중 최소값 영상의 가우시안 필터 출력을 상기 조명 처리부로 전달하는 다크 이미지 처리부를 포함하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method according to claim 1,
Wherein the retinex image processing control unit includes a dark image processing unit for transmitting a Gaussian filter output of a minimum value image among red, green, and blue of the input image to the illumination processing unit.
청구항 1에 있어서,
상기 영상처리 제어부는 사용자 입력에 따라 상기 제어 파라미터를 산출하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method according to claim 1,
Wherein the image processing control unit calculates the control parameter according to a user input.
청구항 1에 있어서,
상기 영상처리 제어부는 이미 설정된 복수의 입력영상을 이용하여 인공신경망 등을 통해 학습된 정보를 이용하여 상기 제어 파라미터를 산출하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method according to claim 1,
Wherein the image processing control unit calculates the control parameter using information learned through an artificial neural network or the like using a plurality of input images already set.
청구항 1에 있어서,
상기 광원부는 복수의 스펙트럼 광을 조사하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method according to claim 1,
Wherein the light source unit emits a plurality of spectral lights.
청구항 8에 있어서,
상기 광원부는 광원의 파장을 변환하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method of claim 8,
Wherein the light source unit converts the wavelength of the light source.
청구항 8에 있어서,
상기 레티넥스 영상 처리부는 상기 복수의 스펙트럼 광 각각에 대응하는 복수의 레티넥스 영상 처리를 수행하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method of claim 8,
Wherein the retinex image processing unit performs a plurality of retinex image processing corresponding to each of the plurality of spectral lights.
청구항 8에 있어서,
상기 복수의 스펙트럼 광 각각에 대해 레티넥스 영상 처리된 영상을 합성하는 영상 결합부를 더 포함하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method of claim 8,
Further comprising an image combining unit configured to synthesize the retinex image processed for each of the plurality of spectral lights.
청구항 8에 있어서,
상기 복수의 스펙트럼 광 각각에 대한 복수의 상기 영상 재구성부의 출력 영상을 합성하여 상기 레티넥스 영상 처리부로 입력하는 영상 결합부를 더 포함하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method of claim 8,
Further comprising an image combining unit for synthesizing output images of a plurality of the image reconstructing units for each of the plurality of spectral lights and inputting the synthesized output images to the Retinex image processing unit.
청구항 1에 있어서,
상기 레티넥스 영상 처리부는 GPU 병렬처리 소프트웨어 또는 FPGA 하드웨어 회로 형태로 구현되어 실시간 처리를 가능하게 하는 모듈로 구현되는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
The method according to claim 1,
Wherein the Retinex image processing unit is implemented as a GPU parallel processing software or a FPGA hardware circuit to realize a real-time processing module.
레티넥스 내시경 영상처리 시스템이 수행하는 영상 처리 방법으로서,
피사체에 광을 조사하는 광조사 단계;
상기 피사체의 영상을 획득하는 이미지 센싱 단계;
상기 획득된 영상으로부터 상기 피사체의 영상을 재구성하는 영상 재구성 단계;
상기 재구성된 영상을 레티넥스 영상처리하는 레티넥스(Retinex) 영상처리 단계; 및,
상기 레티넥스 영상 처리 단계를 제어하기 위한 제어 파라미터를 산출하는 레티넥스 영상처리 제어 단계를 포함하는 레티넥스 내시경 영상 시스템으로서,
상기 레티넥스 영상 처리 단계는,
입력 영상을 분리(decomposition)하여 상기 입력 영상의 각 픽셀에 대응하여 반사 성분에 대한 반사맵(Reflectance Map)과 조명 성분에 대한 조명맵(Illumination Map)을 각각 산출하는 영상 분리 단계;
상기 조명맵에서의 조명 밝기를 변형하는 조명 처리 단계; 및
상기 처리된 반사맵과 상기 조명맵의 합성 영상을 산출하는 영상 합성 단계를 포함하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
An image processing method performed by a Retinex endoscope image processing system,
A light irradiation step of irradiating light to a subject;
An image sensing step of acquiring an image of the subject;
An image reconstruction step of reconstructing an image of the subject from the acquired image;
A Retinex image processing step of processing the reconstructed image by Retinex image processing; And
A retinex image processing control step of calculating a control parameter for controlling the retinex image processing step,
Wherein the retinex image processing step comprises:
An image separation step of decomposing an input image and calculating a reflection map for a reflection component and an illumination map for an illumination component corresponding to each pixel of the input image;
An illumination processing step of modifying the illumination brightness in the illumination map; And
And a synthesized image of the processed reflection map and the synthesized image of the illumination map.
청구항 14에 있어서,
상기 레티넥스 영상처리 제어 단계는 상기 영상 분리 단계가 상기 조명맵의 생성을 위해 적용하는 가우시안 필터의 가우시안 커널 사이즈를 산출함으로써,
상기 입력 영상 중 미리 설정된 기준보다 밝은 영역의 정보 손실 정보를 제어하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
15. The method of claim 14,
Wherein the retinex image processing control step includes a step of calculating a Gaussian kernel size of a Gaussian filter applied by the image separation step for generating the illumination map,
Wherein information loss information of an area of the input image that is brighter than a preset reference is controlled.
청구항 14에 있어서,
상기 레티넥스 영상처리 제어 단계는 상기 조명 처리부가 상기 조명 밝기의 변형을 수행하기 위해 적용되는 감마값을 결정에 필요한 알파값을 산출함으로써,
상기 입력 영상 중 미리 설정된 기준보다 어두운 영역의 밝기 증폭 정도를 제어하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
15. The method of claim 14,
Wherein the retinex image processing control step comprises: calculating the alpha value necessary for determining the gamma value applied to perform the deformation of the illumination brightness,
Wherein the control unit controls the degree of brightness amplification of the input image in a region darker than a preset reference.
청구항 14에 있어서,
상기 레티넥스 영상처리 제어 단계는 상기 영상 분리 단계가 상기 반사맵의 생성을 위해 적용하는 입실론값을 산출함으로써,
상기 합성 영상의 노이즈를 제어하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
15. The method of claim 14,
Wherein the retinex image processing control step includes a step of calculating an epsilon value applied by the image separation step to generate the reflection map,
And controlling the noise of the synthesized image.
청구항 14에 있어서,
상기 레티넥스 영상처리 제어 단계는 상기 입력 영상의 적색, 녹색, 청색 중 최소값 영상의 가우시안 필터 출력을 상기 조명 처리 단계로 전달하는 다크 이미지 처리부를 포함하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
15. The method of claim 14,
Wherein the retinex image processing control step includes a dark image processing unit for transmitting a Gaussian filter output of a minimum value image among red, green, and blue of the input image to the illumination processing step.
청구항 14에 있어서,
상기 영상처리 제어 단계는 사용자 입력에 따라 상기 제어 파라미터를 산출하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
15. The method of claim 14,
Wherein the image processing control step calculates the control parameter according to a user input.
청구항 14에 있어서,
상기 영상처리 제어 단계는 이미 설정된 복수의 입력영상으로부터 학습된 정보를 이용하여 상기 제어 파라미터를 산출하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
15. The method of claim 14,
Wherein the image processing control step calculates the control parameter using information learned from a plurality of input images that have been already set.
청구항 14에 있어서,
상기 광 조사 단계는 복수의 스펙트럼 광을 조사하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
15. The method of claim 14,
Wherein the light irradiation step irradiates a plurality of spectral lights.
청구항 21에 있어서,
상기 광 조사 단계는 광원의 파장을 변환하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 시스템.
23. The method of claim 21,
Wherein the light irradiation step converts the wavelength of the light source.
청구항 21에 있어서,
상기 레티넥스 영상 처리 단계는 상기 복수의 스펙트럼 광 각각에 대응하는 복수의 레티넥스 영상 처리를 수행하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
23. The method of claim 21,
Wherein the retinex image processing step performs a plurality of retinex image processing corresponding to each of the plurality of spectral lights.
청구항 21에 있어서,
상기 복수의 스펙트럼 광 각각에 대해 레티넥스 영상 처리된 영상을 합성하는 영상 결합 단계를 더 포함하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
23. The method of claim 21,
Further comprising an image combining step of synthesizing an image subjected to Retinex image processing for each of the plurality of spectral lights.
청구항 21에 있어서,
상기 복수의 스펙트럼 광 각각에 대한 복수의 상기 영상 재구성 단계의 출력 영상을 합성하여 상기 레티넥스 영상처리 단계로 입력하는 영상 결합 단계를 더 포함하는 것을 특징으로 하는 레티넥스 내시경 영상 처리 방법.
23. The method of claim 21,
Further comprising an image combining step of synthesizing output images of the plurality of image reconstruction steps for each of the plurality of spectral lights and inputting the resultant image to the Retinex image processing step.
청구항 14 내지 청구항 25 중 어느 한 청구항의 방법을 실행시키기 위한 컴퓨터 판독 가능한 프로그램을 기록한 기록 매체.A recording medium on which a computer-readable program for executing the method of any one of claims 14 to 25 is recorded.
KR1020170156376A 2017-11-22 2017-11-22 Method and system for retinex processing of endoscopic image, and a recording medium having computer readable program for executing the method KR102272979B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020170156376A KR102272979B1 (en) 2017-11-22 2017-11-22 Method and system for retinex processing of endoscopic image, and a recording medium having computer readable program for executing the method
PCT/KR2017/013696 WO2019103215A1 (en) 2017-11-22 2017-11-28 Retinex endoscopic image processing system and method, and recording medium having recorded thereon computer-readable program for performing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170156376A KR102272979B1 (en) 2017-11-22 2017-11-22 Method and system for retinex processing of endoscopic image, and a recording medium having computer readable program for executing the method

Publications (2)

Publication Number Publication Date
KR20190058936A true KR20190058936A (en) 2019-05-30
KR102272979B1 KR102272979B1 (en) 2021-07-02

Family

ID=66630702

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170156376A KR102272979B1 (en) 2017-11-22 2017-11-22 Method and system for retinex processing of endoscopic image, and a recording medium having computer readable program for executing the method

Country Status (2)

Country Link
KR (1) KR102272979B1 (en)
WO (1) WO2019103215A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327312B (en) * 2020-09-25 2023-10-20 华为技术有限公司 Screen throwing control method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070046010A (en) * 2005-10-28 2007-05-02 삼성전자주식회사 Method of digital image enhancement
US8979741B2 (en) 2006-04-12 2015-03-17 Olympus Medical Systems Corp. Endoscopic apparatus
WO2017022324A1 (en) * 2015-08-05 2017-02-09 オリンパス株式会社 Image signal processing method, image signal processing device and image signal processing program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7298917B2 (en) * 2002-11-11 2007-11-20 Minolta Co., Ltd. Image processing program product and device for executing Retinex processing
JP5028008B2 (en) * 2004-12-08 2012-09-19 オリンパス株式会社 Fluorescence endoscope device
JP4353233B2 (en) * 2006-10-31 2009-10-28 ブラザー工業株式会社 Image processing program and image processing apparatus
JP2016109812A (en) * 2014-12-04 2016-06-20 三星ディスプレイ株式會社Samsung Display Co.,Ltd. Image processing device, image processing method, computer program and image display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070046010A (en) * 2005-10-28 2007-05-02 삼성전자주식회사 Method of digital image enhancement
US8979741B2 (en) 2006-04-12 2015-03-17 Olympus Medical Systems Corp. Endoscopic apparatus
WO2017022324A1 (en) * 2015-08-05 2017-02-09 オリンパス株式会社 Image signal processing method, image signal processing device and image signal processing program

Also Published As

Publication number Publication date
KR102272979B1 (en) 2021-07-02
WO2019103215A1 (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US11089278B2 (en) Image-processing device, fluorescence observation device and method for emulating a first type of fluorescence observation device on a second type of fluorescence observation device
US8520919B2 (en) Apparatus and method for controlling a multi-color output of an image of a medical object
JP4868976B2 (en) Endoscope device
US7892169B2 (en) Endoscope apparatus
US5550582A (en) Endoscope-image processing apparatus for performing image processing of emphasis in endoscope image by pigment concentration distribution
WO2017090454A1 (en) Information processing device, information processing method, and program
EP2564755B1 (en) Image processing device and fluoroscopy device
KR20140053503A (en) Method and apparatus for providing acceleration image correction
WO2017022324A1 (en) Image signal processing method, image signal processing device and image signal processing program
KR102272979B1 (en) Method and system for retinex processing of endoscopic image, and a recording medium having computer readable program for executing the method
WO2016151676A1 (en) Image processing device, image processing method, and biological observation device
US20230000348A1 (en) Non-transitory computer-readable storage medium and ophthalmic image processing apparatus
JP7015382B2 (en) Endoscope system
US7822247B2 (en) Endoscope processor, computer program product, endoscope system, and endoscope image playback apparatus
WO2019198576A1 (en) Medical image processing device
CN114027765B (en) Fluorescence endoscope system, control method, and storage medium
JP2009100936A (en) Image processor
US20210088772A1 (en) Endoscope apparatus, operation method of endoscope apparatus, and information storage media
US11571122B2 (en) Ophthalmologic image processing method and fundus imaging apparatus
JP7123135B2 (en) Endoscope device, operating method and program for endoscope device
WO2021065939A1 (en) Endoscope system and method for operating same
US20230281775A1 (en) Spectral reconstruction for multispectral imaging
JP6261446B2 (en) Endoscope device
CN111511263B (en) Image processing apparatus and image processing method
EP4275581A1 (en) Method, processor, and medical fluorescence observation device for toggling images

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